I have got my view designed like that: under the bottom edge of the screen a subview is located. Once the app launched and viewDidLayoutSubviews
called i animate the view sliding out from the bottom. My problem is - each time the status bar changes (receiving the call for example) the bottom view is been slide-out again.
Here is my code:
[UIView animateWithDuration:0.7 animations:^ {
self.bottomView.frame = CGRectMake(0.0,
self.view.frame.size.height - heightOfBot,
self.bottomView.frame.size.width,
self.bottomView.frame.size.height);
}];