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.

how to change uiviewcontroller title independent of tabbar item title

I am setting my view controllers title like this in view did load: self.title = @"my title"; prior to this …

ios cocoa-touch uiviewcontroller uitabbarcontroller
Getting the top most UIViewController

If I push view controllers and/or present modal view controllers on a UINavigationController, how can I find out what …

objective-c cocoa-touch uiviewcontroller uinavigationcontroller
How to get UIViewController of a UIView's superview in iOS?

I have a UIViewController in which I have a UITextView added from interface builder. Now I want to push a …

ios objective-c uiview uiviewcontroller iphone-sdk-3.0
Present view controller from app delegate

I'm attempting to present a view controller from the app delegate with this code: - (void)interstitialViewControllerRequestSucceeded:(UIViewController *)interstitialViewController { [self.…

ios objective-c uiviewcontroller appdelegate
UiTextField and resignFirstResponder

I have a weird setup. I have a View called View1 and a ViewController call viewController1 in IB, View1 is …

iphone uiviewcontroller first-responder
Passing data between View Controllers using Segue

I am new to iOS. I am facing a problem passing the data between ViewControllers. I have three viewControllers (view_1 ,…

ios uiviewcontroller segue
Checking if a UIViewController is about to get Popped from a navigation stack?

I need to know when my view controller is about to get popped from a nav stack so I can …

iphone objective-c uikit uiviewcontroller uinavigationbar
Get class name of UIViewController in swift

How to get class name of UIViewController Class in swift In Objective C, we can do something like this : self.…

ios objective-c uiviewcontroller swift
UIViewController's prefersStatusBarHidden not working

I am trying to make the status bar for one of my view controllers to be hidden (when displayed modally). …

ios objective-c ios7 uiviewcontroller ios7-statusbar
Use of background/foreground methods in AppDelegate

I'm planning to implement multi-task in my app. I can see many methods here to do that in the AppDelegate …

iphone uiviewcontroller multitasking background-foreground