I want to run a block of code after the animation is completed, but the compiler shows the following error: "Incompatible types of block pointers sending" void (^) (void) "to a parameter of the type" void (^) (BOOL) '"
Here is my code, I'm not sure what I'm doing wrong, please help, thanks.
[UIView transitionWithView:self.view duration:1.5 options:UIViewAnimationOptionTransitionFlipFromBottom
ios objective-c uiview uiviewanimation
Fellow geek
source share