我拿了一个default.png文件,并将其作为我的启动画面,并让它睡几秒钟以使其可见。在初始屏幕上添加UIActivityController
但我也想添加一个UIActivityController
它。 因为我没有采取任何ViewController
。
我应该如何添加它?
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
_homeViewController = [[XTHomeViewController alloc]initWithNibName:kHOME_VIEW bundle:nil];
_navigate = [[UINavigationController alloc]initWithRootViewController:_homeViewController];
[self.window addSubview:_navigate.view];
[self.window makeKeyAndVisible];
[NSThread sleepForTimeInterval:0.75];
return YES;
这是我的全部。
我张贴我的代码above.i添加到它的代码,它不工作。 – Chandu