开发者

error lauchoptions undeclared IOS4?

application开发者_如何学运维.applicationIconBadgeNumber = 0;

// Handle launching from a notification
UILocalNotification *localNotif =[launchOptions objectForKey:UIApplicationLaunchOptionsLocalNotificationKey];

if (localNotif) {
    NSLog(@"Recieved Notification %@",localNotif);
}

return YES;

i am getting lauchoptions undeclared my os veriosn is 4 and xcode i 3.2.3


Well, where are you getting the variable "launchOptions" from? Presumably, you're using

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions

Did you rename the argument? Perhaps you need to show more of your code...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜