I have two animations; show search bar and show banner. Both of these animations resize the same view, and if they work at the same time (what they are), the last animation cancels the resizing. Is there anyway to check if the UIView animates the animation, and then the reserve for the animation?
I am sure that I am not using CAAnimations since Cocoa does not detect such a class.
This function runs when an ad is received. Unfortunately, this is the same time as ShowSearch.
- (void)adViewDidReceiveAd:(GADBannerView *)bannerView { if (!hasloaded) { [UIView beginAnimations:nil context:nil]; [UIView setAnimationCurve: UIViewAnimationCurveEaseInOut]; [UIView setAnimationDuration: 1.0]; [bannerView_ setFrame:CGRectMake(0, self.view.frame.size.height, bannerView_.frame.size.width, bannerView_.frame.size.height)];
Hedam source share