ios - Why the above statement is not being executed first -
i have used master-detail view in application.
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 }
hope you.
Comments
Post a Comment