0

I am presenting UITableViewController with UINavigationController. When I am trying to add glyptodon view to TableViewController getting some topspace.

let reminderViewController = ListingRemindersTableTableViewController()
        let navigationController = UINavigationController(rootViewController: reminderViewController)animated: true, completion: nil)
self.navigationController?.presentViewController(navigationController, animated: true, completion: nil)

and within "ListingRemindersTableTableViewController" after calling a service i am adding glyptodon view

self.view.glyptodon.show("NoData Found", withAnimation: true)

Please help me anyone. Advanced thank you for solution.

Empty table with No Data Found label

Firo
  • 15,448
  • 3
  • 54
  • 74
user3460006
  • 122
  • 9

2 Answers2

1

Solved the issue. Issue was the frame in glyptodonview. Replace frame with bounds in glyptodonview.

user3460006
  • 122
  • 9
0

It looks like you need to set the Adjust Scroll View Insets property to false in you UIViewController in Interface Builder.

Look at this answer: iOS 7 -- navigationController is setting the contentInset and ContentOffset of my UIScrollView

Community
  • 1
  • 1
Zaphod
  • 6,758
  • 3
  • 40
  • 60