有没有办法确定该应用程序是从头开始启动的,这意味着它还没有从后台唤醒,但实际上已经无处可寻,包括Default.png或Default-iPad.png的显示?
答案 0 :(得分:4)
在您的App委托中有一个方法,
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
UIAlertView * alert = [[UIAlertView alloc] initWithTitle:@"Only at launch" message:@"" delegate:self cancelButtonTitle:@"OK" otherButtonTitles:nil];
[alert show];
}