我在ViewController上有一个TableView。
当我点击一行时,我使用以下方法加载PDF阅读器:
ReaderViewController *readerViewController = [[ReaderViewController alloc] initWithReaderDocument:document];
readerViewController.delegate = self; // Set the ReaderViewController delegate to self
readerViewController.modalTransitionStyle = UIModalTransitionStylePartialCurl;
readerViewController.modalPresentationStyle = UIModalPresentationFullScreen;
[self presentViewController:readerViewController animated:YES completion:nil];
但是当我回来时,我的布局似乎被打破了:
我尝试了以下解决方案:
Frame doesn't reflect auto layout constraints after dismissing modal view controller
iOS AutoLayout issue with ScrollView
但我仍然无法解决我的问题。您有什么推荐的吗?感谢