【问题标题】:when adding glyptodon view to UITableViewController , Adding with some topspace将 glyptodon 视图添加到 UITableViewController 时,添加一些顶部空间
【发布时间】:2016-05-27 13:28:29
【问题描述】:

我正在展示带有 UINavigationController 的 UITableViewController。当我试图将 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)

请任何人帮助我。高级感谢您的解决方案。

【问题讨论】:

    标签: objective-c iphone ipad swift2 ios9


    【解决方案1】:

    解决了这个问题。 问题是 glyptodonview 中的框架。用 glyptodonview 中的边界替换框架。

    【讨论】:

      【解决方案2】:

      看起来您需要在 Interface Builder 中将 UIViewController 中的 Adjust Scroll View Insets 属性设置为 false。

      看看这个答案:iOS 7 -- navigationController is setting the contentInset and ContentOffset of my UIScrollView

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2016-07-21
        • 1970-01-01
        相关资源
        最近更新 更多