I have a TableView on top of a ViewController.
When I tap a row, I load a PDF Reader using:
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];
But when I come back, my layout seems to be broken:
I have tried solutions like:
Frame doesn't reflect auto layout constraints after dismissing modal view controller
iOS AutoLayout issue with ScrollView
But I can't still solve my issue. What do you recommend? Thanks