tags:

views:

30

answers:

2

hi, i have developed an iphone application where i have generated a terms and condition page and i wand that page to load only at that time of installation and not everytime application is run on iphone. Is there any any way to do this... i am done with this.... should i insert it into the application bundle and show it into settings...

Thanx in advance...

+2  A: 

I would use NSUserDefaults for this. Have a boolean variable that is set when the user agrees to the terms. If it is not set, show the terms upon loading the application. If it is set, do nothing.

David Kanarek
Thank you... i have implemented it using NSUserDefaults... it helped me...
abhiTouchmagic
A: 

I suppose you'd check a flag of some sort (presence of file, contents of a file, setting in sqlite db, etc) in the app delegate as the app launches and make a conditional decision about what screen loads first.

Devin Ceartas
Hey thanx... i will try it out.. thanx for getting back to me so early
abhiTouchmagic