Top "Uiviewcontroller" questions

The UIViewController class manages the views in iOS apps and mediates the interaction between an app's views, its underlying model objects, and the overall workflow.

iOS - Semi-transparent modal view controller

I want to present a view controller with a slightly transparent background modally over the current view, such that the …

ios uiviewcontroller uinavigationcontroller modalviewcontroller
Can I use autolayout to provide different constraints for landscape and portrait orientations?

Is it possible to change the constraints when the device is rotated? How might this be achieved? A simple example …

ios cocoa-touch uiview uiviewcontroller autolayout
Passing variables between view controllers

I am using this function to switch between views in Xcode 4.3. [self performSegueWithIdentifier:@"NextView" sender:self]; I would like to …

ios properties uiviewcontroller uistoryboard uistoryboardsegue
Autorotate a single UIViewController in iOS 6 with UITabBar

I have an app that work only in Portrait Mode, but there is a singleView that can display video, so …

iphone uiviewcontroller ios6 landscape-portrait
iPhone: How to Pass Data Between Several Viewcontrollers in a Tabbar App

I have following problem: I have built a tabbar application with 4 tabs. I want to pass a object/variable from …

iphone objective-c uiviewcontroller uitabbarcontroller
What is the process of a UIViewController birth (which method follows which)?

There are many methods to override, like initWithNibname:, awakeFromNib, loadView, viewDidLoad, viewDidAppear:, layoutSubviews, and I just cannot decide in which …

iphone uiviewcontroller
how to present a view controller on iOS7 without the status bar overlapping

I'm seeing when I migrated my app to iOS 7, the nav bar is appearing under the status bar when presenting …

ios objective-c uiviewcontroller ios7 statusbar
Add child view controller to UINavigationController

I'm trying to add a child view controller to a UIViewController contained in a UINavigationController with this code: - (void)…

iphone objective-c uiviewcontroller ios7 childviewcontroller
View rotation notifications: why didRotateFromInterfaceOrientation: doesn't get called?

I'm trying to detect any device orientation change so that I can update the views. I want to update the …

iphone ios uiviewcontroller uiinterfaceorientation
Why is my NSNotification its observer called multiple times?

Within an App I make use of several viewcontrollers. On one viewcontroller an observer is initialized as follows: [[NSNotificationCenter defaultCenter] …

ios iphone uiviewcontroller nsnotificationcenter nsnotifications