在我的viewcontroller动画问题中按下后退按钮时出现问题。问题出现在以下链接的视频中:
app.bowerchat.com/images/117_1438022757542.mp4
- (IBAction)backChatBtnPressed:(id)sender
{
[self.navigationController popViewControllerAnimated:NO];
}
答案 0 :(得分:0)
你可以通过设置" clipsToBounds"来修复它。在带有消息的视图控制器的基本视图上,属性为YES(true):
可能在viewWillAppear:
\\ View controller with messages (Swift)
override viewWillAppear(animated: Bool) {
super.viewWillAppear(animated)
self.view.clipsToBounds = true
}