i using web view , alsousing drag event load next or previous page on drag right or left event simultaneously web loads next page after fininshing curl animation. want load page data during animation,
it takes 1 second load new page after animation finishes. have checked loading timing , sequence, web view loading page , finish loading before starting animation curlup animation locking page.
can 1 please me.
you might try load next , previous pages on background thread, loaded when user tries reach them... u might want create method views (eg.getview) takes nsurl argument... , every swipe call:
nextview= [self performselectorinbackground:@selector(getview:) withobject:nexturl]; prevview= [self performselectorinbackground:@selector(sgetview:) withobject:prevurl];
Comments
Post a Comment