I have a table with frame size (0, 65, 320, 503). When I go to another page, I go back.
add the following line to your method - (void) viewDidLoad.
self.automaticallyAdjustsScrollViewInsets = NO;
hope it fixes your problem.
Hope you found a solution that worked for you. This happened to me when using AutoLayout and UITableViews in combination with the awesome SWRevealViewController class. In short, I spent a lot of time and eventually found this answer that worked for me:
fooobar.com/questions/81818 / ...
UITableView ( UMP UML ), , .
,
if ([self respondsToSelector:@selector(edgesForExtendedLayout)]) { self.edgesForExtendedLayout = UIRectEdgeNone; } [self.navigationController.navigationBar setTranslucent:NO];
.
, ...
, tableview viewWillAppear, - , viewwillappear.
viewWillAppear
[your_tableview removeFromSuperview]; [your_tableview setTranslatesAutoresizingMaskIntoConstraints:YES]; your_tableview.frame = CGRectMake(0, 65, 320, 503); [self.view addSubview:your_tableview];
your_tableview.tableHeaderView = nil;
1> set the transparency property of the navigation bar to NO. Adjust the subtitle frame again, because after setting NO, the preview will adjust some new frames.
2> In viewDidLoad set the following
3> done.
Source: https://habr.com/ru/post/1568843/More articles:explicit specification of a class member of a class with a different return type - c ++PHP - get package length - phpHow to install github for windows offline? - githubGeneric Windows MVVM Application - c #Java - passing shared lists to a class through a constructor - javaThe service only occasionally throws a header error "Access Error-Control-Allow-Origin" - c #The return function is open, closed or closed from the clock - dateIs it possible to implement the DO + function in pure REBOL? - rebolCascade in Rebola - metaprogrammingAndroid development models - javaAll Articles