I am developing an application for both iPhone and iPad. Here, i would like to load a url in the uiwebview, at ( 0.5) time interval. After finish loading of web view, i want to navigate to the next view. I have implemented this, by adding the navigation coding to [webViewDidFinishLoad:] and it works fine. Now, my client needs to add a button in the view to navigate if the user not interested to stay in the web view for (0.5 ) sec.
-
Is i should use separate (selector:) action for after delay : 0.5 and for round rect button ?
if it so, how can i implement this, I googled it, but could not find the solution. Any help appreciated. Thanks.
Thanks so much for the responses. Here, i have implemented “NSTimer” concept instead of using “PerformSelector:afterDelay”. Here is the code,
And i have the button at the toolbar which is also used for navigating to the next view.