开发者

Any way to show a view only once the app is used?

I am creating an app which requires the users to enter certain values when the app is used for the first time. A settings screen with 4 UITextFields and a UIPicker. This settings view can be accessed later using a button from the mainscreen. Somebody please su开发者_开发百科ggest some ideas

Thanks


Use the NSUserDefaults and set a BOOL or a NSDate to indicate that you app has been used for the first time.

[[NSUserDefaults standardUserDefaults] setBool:YES forKey:@"firstUse"]

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜