I would like to use the UIView transitionFromView method to animate the view and catch the event when it is completed. Can someone post an example?
Thanks!
F.
-(IBAction) anAction:(id) sender { // assume view1 and view2 are some subviews of self.view // view1 will be replaced with view2 in the view hierarchy [UIView transitionFromView:view1 toView:view2 duration:0.5 options:UIViewAnimationOptionTransitionFlipFromLeft completion:^(BOOL finished){ /* do something on animation completion */ }]; } }
Source: https://habr.com/ru/post/1333889/More articles:C ++: High Level XML Serialization Library - c ++PHP - Mysql: saving images to the database - escaping special characters - securityVisual Studio 2010 External Documentation API Documentation - visual-studio-2010What languages ββprovide the use of object literals? - programming-languages ββ| fooobar.comShould interface methods throw exceptions? - javahttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1333890/is-it-possible-to-serialize-custom-objects-to-a-plist-file-in-objective-c&usg=ALkJrhjw7xlc1s5cpGCuuQfEpARXmm-gwg"delete from table" does not delete the table? - c ++Replicate one or more spaces in% - c #Seed spread - ruby-on-railsto create an excel file in .net without installed office - .netAll Articles