Some basic questions for a very basic app:
The first time the app runs, A screen is presented with the ID (number) to be selected. Then this ID is embedded in the URL that is used when launching Safari, as if the user presses a start button, the ID is stored in user preferences.
The app is launched a second time, I want to read the ID from user preferences and launch the Safari
without seeing the user. Push the ID screen or any button.
In the first scenario, I was working in the ID viewDidLoad
etc. For the second scenario, I'm not very clear where the code should be kept, is it technically possible? Will Apple accept this?
Yes, this is possible. And why will Apple not accept it? Just use this code:
[[UIApplication shared application] openURL: url];
url - Your reserved URL with user id
Comments
Post a Comment