ในเมธอด viewDidLoad ฉันเพิ่มชุดค่าผสมของสิ่งเหล่านี้ แต่ใช้งานไม่ได้:
CGRect appFrame = [[UIScreen mainScreen] applicationFrame];
[[self tableView] setBounds:appFrame];
// self.view.frame = appFrame;
// self.view.bounds = appFrame;
// [[self tableVew] setFrame:appFrame];
self.view.autoresizingMask = UIViewAutoresizingFlexibleHeight|UIViewAutoresizingFlexibleWidth;
ที่ด้านบนจะมีช่องว่าง 20px เสมอโดยที่หน้าจอก่อนหน้าของฉันแสดงผ่าน