Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/google-chrome/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Iphone 如何将UITabBarController的底部选项卡栏自定义为这个精确的模型?_Iphone_Ios_Uitabbarcontroller - Fatal编程技术网

Iphone 如何将UITabBarController的底部选项卡栏自定义为这个精确的模型?

Iphone 如何将UITabBarController的底部选项卡栏自定义为这个精确的模型?,iphone,ios,uitabbarcontroller,Iphone,Ios,Uitabbarcontroller,我想定制UITabBarController的底部栏,如下所示: 我怎样才能做到这一点?谢谢 这在iOS 5xx及以上版本上应该很容易做到。您需要查看UIAppearance代理方法,它允许对Apple默认UIKit元素进行蒙皮 尤塔巴有 @property(nonatomic,retain) UIImage *backgroundImage 尤塔巴里坦有 - (void)setFinishedSelectedImage:withFinishedUnselectedImage: - (voi

我想定制UITabBarController的底部栏,如下所示:


我怎样才能做到这一点?谢谢

这在iOS 5xx及以上版本上应该很容易做到。您需要查看UIAppearance代理方法,它允许对Apple默认UIKit元素进行蒙皮

尤塔巴有

@property(nonatomic,retain) UIImage *backgroundImage
尤塔巴里坦有

- (void)setFinishedSelectedImage:withFinishedUnselectedImage:
- (void)setTitlePositionAdjustment:

我认为这个网页对你有一定的价值:


我可以用图片替换中间的按钮吗?那是照相机的镜头吗?