My iphone app have login screen, and logout button in the app, requierment was to when user click the logout button,next time he start the application he should get the login screen
solution sould work on 3g/3gs/iphone 4
following are the approaches i found., 01.calling [[UIApplication sharedApplication] terminateWithSuccess]; and [[UIApplication sharedApplication] terminate];
02.when user logged to app,write a value to plist and when user click the logout remove the plist value,use this value to propt the user for login screen again or is there anyother approaches available
Regards, sam.