viewcontroller Questions

3

I have just added push notifications to my app. I'm wanting to have so that when a user opens the app from a notification, it will open a specific view controller and not my rootViewController. Her...
Transfer asked 19/3, 2013 at 13:57

4

Solved

I have doubt need to be clear.. I have stack and a navigation controller.now when the stack loads the viewDidLoad viewWillAppear viewDidAppear will be called. when i click some button then this but...
Tracitracie asked 11/3, 2013 at 5:23

1

Solved

When my main view rotates I want to re-arrange the sub views, so in my ViewController, I override willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)orientation duration:(NSTimeInt...
Compeer asked 29/1, 2013 at 21:25

1

Solved

In my program, I have a UIViewController subclass MyViewController and two subclasses of that view controller. I want them all to use the same xib so I initiate them as SubClass *SC = [[SubClas...
Firstrate asked 5/9, 2011 at 4:15

4

I really need some more help! I am trying to pass an array from one view controller to another. I think the latter being a 'child' view controller? My code is as follows: MainViewController.h: ...
Hypnotist asked 18/12, 2010 at 14:44

1

Solved

I'm working with some code that I need to refactor. A view controller is acting as a container for two other view controllers, and will swap between them, as shown in the code below. This may not ...
Outguess asked 2/10, 2012 at 7:11

1

Solved

My app have a bunch of viewControllers and I am trying to design my own animation transition from one viewController to the other. I have found this - (void)transitionFromViewController:(UIViewCo...
Pentylenetetrazol asked 24/9, 2012 at 16:9

3

Ive been tearing my hair out over the last couple of days trying to understand this one seemingly basic concept of iOS development: If I want to have two or more View Controllers displayed and us...
Jamille asked 26/1, 2012 at 0:33

1

Solved

I have a class that synchronizes data in the background every once in a while. The user can be anywhere in the app's navigation tree and no matter where the user is I need to be able to update the ...
Ratchford asked 9/8, 2012 at 6:59

1

I've a problem in Xcode. Every time I run my app in Simulator, the app is stopped in a black screen view and the debugger write this code: 2012-07-04 11:54:08.348 myApp[661:f803] * Terminating a...
Cedilla asked 4/7, 2012 at 10:26

2

Disclaimer: I'm an iOS noob. I created a view based app using Xcode's template that uploads pictures to a website. Xcode created AppDelegate.m (& .h) and ViewController.m as well as a storyboa...
Petrel asked 4/4, 2012 at 18:40

2

Solved

In iOS 5 SDK, there're two methods of UIViewController, presentModalViewController:animated: and presentViewController:animated:completion:. What's the difference between these two method? The d...
Blockbuster asked 3/12, 2011 at 3:28

3

Solved

I have a settings view controller with a table view. The table view is supposed to set its frame to be the frame of the view controller. My app only supports landscape mode, so that's the orientati...
Vanitavanity asked 3/10, 2011 at 4:41

2

Solved

To some this may sound like a daft question. I've searched around, and found little, mostly because I cannot find the appropriate search terms. Here what I want to do is: The application begins a...
Blent asked 27/1, 2012 at 15:1

1

Solved

I've asked how I can make a custom view repeat itself into several separate copies and have been told that I should use NSNib or NSViewController. I have a custom view in an nib file, whenever a us...
Hindustan asked 3/8, 2011 at 0:40

3

Solved

Could anyone tell me when we use the AppDelegate.m and AppDelegate.h during iPhone programming? I have used only the ViewController.m and ViewController.h for basic learning. I just want to know wh...
Luz asked 19/5, 2011 at 17:33

1

When trying to run my iPhone app that I am currently building the build succeeds but the application crashes after the start up image and gives me an error that looks like this: 2011-04-06 20:31...
Bitternut asked 7/4, 2011 at 1:50

2

Solved

I am basically trying to add two view controllers to one controller. I created a view based application called "MultipleViews". After that i add two controller classes "RedView.h" and "BlueView.h"...
Garnish asked 24/2, 2011 at 6:14

1

Solved

Hii...i am new to iPhone programming..can anybody help me out please...!! I have multiple viewControllers..in First ViewController called HomeViewController i called the method [self presentModalVi...
Jordanna asked 23/6, 2010 at 21:54

3

Solved

This is a simple question: I have 2 different view controllers, and each one has its own data stored in its .m file. I want to take a value, for instance, an integer value (int i=3;) that is decla...
Hospitality asked 15/4, 2010 at 15:52

© 2022 - 2024 — McMap. All rights reserved.