我正在向UITableViewController介绍UINavigationController。当我尝试将glyptodon视图添加到TableViewController中时,我得到了一些顶部空间。
let reminderViewController = ListingRemindersTableTableViewController()
let navigationController = UINavigationController(rootViewController: reminderViewController)animated: true, completion: nil)
self.navigationController?.presentViewController(navigationController, animated: true, completion: nil)
在"ListingRemindersTableTableViewController“中,在调用服务之后,我添加了glyptodon视图
self.view.glyptodon.show("NoData Found", withAnimation: true)
请大家帮帮我。高级感谢您的解决方案。
发布于 2016-06-16 17:23:41
解决了问题。问题是glyptodonview视图中的帧。用glyptodonview视图中的边界替换frame。
发布于 2016-05-27 21:46:10
看起来您需要在接口生成器的UIViewController
中将Adjust Scroll View Insets
属性设置为false。
看看这个答案:iOS 7 -- navigationController is setting the contentInset and ContentOffset of my UIScrollView
https://stackoverflow.com/questions/37484763
复制相似问题