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.

Present modal view controller in half size parent controller

I am trying to present modal view controller on other viewcontroller sized to half parent view controller. But it always …

ios swift uiviewcontroller presentmodalviewcontroller
Swift - pushViewController from appDelegate, rootViewController.navigationController is nil

Having a problem following a few guides, specifically http://blog.originate.com/blog/2014/04/22/deeplinking-in-ios/ I'm setting the url scheme and …

ios swift uiviewcontroller uinavigationcontroller appdelegate
iPad custom size of modal view controller

I have a couple of modal view controllers of certain size. I'm trying to avoid the use of custom views (…

ipad uiviewcontroller modalviewcontroller
Xcode/iOS5: Move UIView up, when keyboard appears

I'd like to move up my view, when the keyboard is shown. The keyboard (height: 216) should push up my view …

iphone ios uiviewcontroller keyboard ios5
Swift - How to dismiss all of view controllers to go back to root

I want a my app can go to a first view controller when every time users want it. So I …

ios swift uiviewcontroller navigation
Custom init for UIViewController in Swift with interface setup in storyboard

I'm having issue for writing custom init for subclass of UIViewController, basically I want to pass the dependency through the …

ios swift uiviewcontroller initialization
Linking child view controllers to a parent view controller within storyboard

Can you associate child view controllers to a custom container view controller in Storyboard? I can link child view controllers …

ios xcode cocoa-touch uiviewcontroller uistoryboard
iOS Nested View Controllers view inside UIViewController's view?

Is it typically bad programming practice in iOS to have a nested view controller's view inside UIViewController's view? Say for …

ios uiviewcontroller viewcontroller
When should I initialize a view controller using initWithNibName?

When should I use init: and when should I use initWithNibName:bundle: when creating a view controller?

iphone objective-c uiviewcontroller initialization
Swift: Custom ViewController initializers

How do you add custom initializers to UIViewController subclasses in Swift? I've created a sub class of UIViewController that looks …

ios objective-c swift uiviewcontroller initialization