ios - Why the above statement is not being executed first -


i have used master-detail view in application. enter image description here

when videos row selected in master view , videos method called , shown above, in videos method writing code dismiss popover , calling method fetchvideosfromurl: , during execution method fetchvideosfromurl being executed first , after popover dismisses, want popover dismissed before method called, how it. thank you

you can following:

-(void)videos { [popover dismisspopoveranimated:no]; [self performselector(loadurl) withobject:nil afterdelay:2.0];

}

-()loadurl { //code in following image }

enter image description here

hope you.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -