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

2 Answers 2

1

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

Sign up to request clarification or add additional context in comments.

Comments

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

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.