I am developing an application. In that in first view I place the one UIswitch. By using that switch we start the application. When that switch was start in that time only the application should work otherwise the application should not work. Please provide any suggestions.
I am developing an application. In that in first view I place the one
Share
Apple strongly suggests not to do this. I think an app with this “feature” wont pass the review process.
In case you still want to do this you can call
exit();.Another really bad approach is to access an index in an empty array.