一.什么是UIApplication
@property(nonatomic) NSInteger applicationIconBadgeNumber;
2.n设置联网指示器的可见性
@property(nonatomic,getter=isNetworkActivityIndicatorVisible) BOOL networkActivityIndicatorVisible;
二.iOS7中的状态栏
- (UIStatusBarStyle)preferredStatusBarStyle;
- (BOOL)openURL:(NSURL*)url;
UIApplication *app = [UIApplication sharedApplication];
[app openURL:[NSURL URLWithString:@"tel://10086"]];
[app openURL:[NSURL URLWithString:@"sms://10086"]];
[app openURL:[NSURL URLWithString:@"mailto://12345@qq.com"]];
[app openURL:[NSURL URLWithString:@"http://ios.itcast.cn"]];
IOS- 简单说说UIApplication,布布扣,bubuko.com
原文地址:http://www.cnblogs.com/wxdi/p/3779180.html