我的问题类似于this
但是我在scrollview中嵌入了我的视图,并且按照这篇文章我的问题仍然存在,有什么方法可以解决这个问题吗?
答案 0 :(得分:0)
当您出示PickerView
或MFMailComposeViewController
时,请填写以下代码。
[[[[AppDelegate sharedInstance] window] rootViewController] presentViewController:aImagePicker animated:YES completion:nil]
可能这段代码会对你有帮助。
答案 1 :(得分:0)
如果页面布局错误,特别是在tableview或scrollview中,您可以调用:
[self.view layoutIfNeeded];
将覆盖所有自动布局并根据需要将其移动以进行更正。我建议你在解雇MFMailComposeViewController之后再调用它。