ios - UIViewAnimation does not work in Objective-C -



ios - UIViewAnimation does not work in Objective-C -

i seek go first view , animate it. animation not work. code shown below:

- (ibaction)geribtnclick:(id)sender { [uiview beginanimations:@"flipping view" context:nil]; [uiview setanimationduration:1]; [uiview setanimationtransition:uiviewanimationtransitionflipfromleft forview:self.view cache:yes]; [self.view removefromsuperview]; //ikinci view kaldır. [uiview commitanimations]; }

please advise on wrong , how can resolved.

the way manage button uinavigationcontroller. should calling [navcontroller popviewcontrolleranimated:yes]. create segue you're looking for. otherwise you're going have create entire transition, just remove view. creating own transitions not beginner subject; want utilize uinavigationcontroller.

objective-c ios xcode uiviewanimation

Comments

Popular posts from this blog

delphi - blogger via idHTTP : error 400 bad request -

c++ - compiler errors when initializing EXPECT_CALL with function which has program_options::variables_map as parameter -

How do I check if an insert was successful with MySQLdb in Python? -