Tag: viewcontroller

59 votes
5 answers
644 views
Why the 20px gap at the top of my UIViewController?

The Problem Consider the following controller hierarchy: UINavigationController UIViewController UITableVi

avatar
Hilario
0 1 0 9
asked 07 September, 2021
69 votes
26 answers
2.4K views
Presenting modal in iOS 13 fullscreen

In iOS 13 there is a new behaviour for modal view controller when being presented. Now it's not fullscre

avatar
Joseph
0 1 0 9
asked 07 September, 2021
67 votes
17 answers
1.4K views
How to tell if UIViewController's view is visible

I have a tab bar application, with many views. Is there a way to know if a particular UIViewController is curr

avatar
Chelsea
0 1 0 9
asked 07 September, 2021
52 votes
30 answers
713 views
Passing data between view controllers

I'm new to iOS and Objective-C and the whole MVC paradigm and I'm stuck with the following: I have a

avatar
Vi
0 1 0 9
asked 07 September, 2021