UIStepper的图片设置

2016/10/23 22:42
阅读数 212

设置控制器背景图片

 

- (void)setBackgroundImage:(UIImage*)image forState:(UIControlState)state;

 

获取背景图片

 

- (UIImage*)backgroundImageForState:(UIControlState)state;

 

通过左右按钮的状态设置分割线的图片

 

- (void)setDividerImage:(UIImage*)image forLeftSegmentState:(UIControlState)leftState rightSegmentState:(UIControlState)rightState;

 

获取分割线图片

 

- (UIImage*)dividerImageForLeftSegmentState:(UIControlState)state rightSegmentState:(UIControlState)state;

 

设置和获取加号按钮的图片

 

- (void)setIncrementImage:(UIImage *)image forState:(UIControlState)state;

- (UIImage *)incrementImageForState:(UIControlState)state;


设置和获取减号按钮的图片

 

- (void)setDecrementImage:(UIImage *)image forState:(UIControlState)state;

- (UIImage *)decrementImageForState:(UIControlState)state;

展开阅读全文
打赏
0
0 收藏
分享
打赏
0 评论
0 收藏
0
分享
返回顶部
顶部