iphone - How to add Terms and conditions view to my application so that it will be visible first time only -


I describe rules in my applications to see the terms and conditions when the user is agreed It will not go to sign in on other pages, it should be visible for the first time the user launches on the mobile, after which the sign should begin with seeing

How do I do this I can ... appreciate any thoughts

You can do this NSUserDefaults .

In the applicationDidFinishLaunching method, look at the presence of a BOOL which you place in NSUserDefaults . If it does not exist, then run your code to show the terms and conditions, then set that value to right in NSUserDefaults so that it is present in the next launch.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -