-
as seen on Stack Overflow
- Search for 'Stack Overflow'
The UITabBarController does not allow landscape orientation. So I used a subclass of UITabBarContoller (called RotatingTabBarController). Its sole purpose it to allow rotation by returning YES to shouldAutorotateToInterfaceOrientation call.
The problem is that when you rotate the iPhone in simulator…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi all -
I have a UIScrollView that houses a gallery of images the user can scroll through. This view needs to be visible on each of three separate UIViewControllers that are housed within a UITabBarController. Right now, I have three separate UIScrollView instances in the UITabBarController subclass…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
I created an application with a TabBarController using IB who have 4 TabBarItems and so display 4 differents ViewControllers.
To allow a landscape orientation I must add this code in all of my ViewController:
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello,
I want to create an app, whith the following structure:
UITabBarController
..UINavigationController
....UITabBarController
So, in other words, I want to load first UITabbarController as my main ViewController, that appears on application start, in its' first tab there's a UINavigationController…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
So, I have this view hierarchy in my app:
UIWindow
UIViewController
UITabBarController -> 4 UINavigationController
I know that a UITabBarController is designed to be the topmost view in an app, however this isn't possible in my case. However, the problem that I have is that ~20 of the lower…
>>> More