1.启动页去掉状态栏 启动完毕 恢复状态栏
首先来到Target的General选项 如图将Hide Status bar 打上钩
来到appdelegate.m文件中写以下代码:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
// 显示状态栏
application.statusBarHidden = NO;
return YES;
}
2.self.title 包含了两个属性 一个是navigationBar的title 一个是TabBar的title
3.判断是否为iOS7宏定义
#define iOS7 ([[UIDevice currentDevice].systemVersion doubleValue] >= 7.0)
4.获得RGB的颜色宏定义
#define IWColor(r, g, b) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:1.0]

3167

被折叠的 条评论
为什么被折叠?



