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.

learn more… | top users | synonyms

0
votes
1answer
18 views

Get download progress from different ViewController

I have a VideoListController. It has list of videos with download button. When I press the download button, the control is transferred to DetailViewController. In DetailViewController, I am using ...
0
votes
1answer
18 views

How to save/restore view state in iOS?

I'm using the ECSlidingViewController to create a slide out menu (like Facebook). I have this storyboard: As you can see, I have a navigation controller. I have a major problem though, that even ...
0
votes
1answer
25 views

How to get an already instantiated UIViewController?

I'm new to iOS programming, and I'm using the ECSlidingViewController to create a slide out menu (like Facebook). So imagine if I have two views referenced in my menu. When I open the app, it will ...
1
vote
1answer
31 views

iPhone startup orientation (again!)

EIDT: fixed. It looks like it was a Simulator issue. Thanks to Gabriel One the simulator I get only this: --- UIDeviceOrientationDidChangeNotification -> [<UIDevice: 0x7577d30>] { But on ...
0
votes
2answers
20 views

(iOS) Black screen when custom initializing UIViewController

This is my first question here. I'm trying to make a program that will work with Core Audio. I found this framework http://theamazingaudioengine.com/ that I'm trying to use and so far I managed to do ...
0
votes
1answer
18 views

Subclass a custom UIViewController (with xib) to add additional behaviour

Here's the deal: I'm using the DEFacebookComposeViewController which is a custom subclass of a UIViewController. This subclass is using an xib to setup the user interface. Now I want to add some ...
1
vote
1answer
30 views

Disable click on background UIViewController

I am loading a ABPeoplePickerNavigationController on the click of a UITableViewCell. self.peoplePicker = [[ABPeoplePickerNavigationController alloc] init]; self.peoplePicker.peoplePickerDelegate = ...
0
votes
0answers
25 views

DrawRect not displaying shape?

I am currently trying to implement two subclasses at one time. I am using the UIViewController <CLLocationManagerDelegate> subclass in my viewController to be able to work with the gps. While ...
1
vote
1answer
18 views

How to customize size of UAModalPanel?

Usually I would initialize a UAModalPanel like below, and it would work fine modalPanel = [[[UAExampleModalPanel alloc] initWithFrame:self.view.bounds withView:@"modalPanel_iPhone"] autorelease]; ...
0
votes
1answer
18 views

passing next/prev cell data between UITableViewController and UIViewController

I have a UITableViewController with a segue to a UIViewController that display the cell's data. In the UIViewController i want to place two buttons to get the next cell and the previous cell (without ...
0
votes
3answers
38 views

How to refresh UIViewController programmatically?

I have a ViewController in which the user selects a card (a custom UIButton) out of a UIScrollView. I have intercepted the touch event selecting the card and identified it, and then removed it from ...
0
votes
1answer
22 views

need to popviewcontroller but keep the current view hidden

I'm trying the below code to hide the current view and pop to the previous viewcontroller's view but all i get with this code is a black screen on the view.. can't do anything on that... relationship ...
0
votes
4answers
26 views

iOS/iPhone - passing custom object between views. Object returns always null

I'm trying to pass a custom class between views. I have set a property for that class but when i access the property, the attributes return always null: firstview.m: - (void)initNextEventView{ ...
0
votes
1answer
29 views

What does it mean for nibBundleOrNil to return the name of the bundle and the message “(not yet loaded)”?

We've got a controller that is a descendant of UIViewController. That is, something like: UIView Controller BaseViewControllerChild ViewControllerInQuestion This ViewControllerInQuestion ...
0
votes
2answers
31 views

setFrame won't do anything

I have a problem with an app that won't set frames outside -init and -viewWillLayoutSubviews methods. What should happen when one taps the editButton is an animation that will hide the editor view. ...

1 2 3 4 5 385
15 30 50 per page