Questions tagged [uivewcontroller]
35 questions
0
votes
3 answers
Transitions between UIView in the same UIViewController
I want to transit from UIView to another in the UIViewController when I press a button
I write this code:
- (IBAction)changeView:(id)sender {
CATransition* transition = [CATransition animation];
transition.timingFunction =…

Boss
- 13
- 5
0
votes
2 answers
CountDown timer View controller
I'm working on a project where i have to create a countdown timer, just like timers used in some recipe apps. My question is that how do i go about creating a timer class/viewcontroller that can be called (by tapping on custom statusbar) from any…

DevCali
- 398
- 6
- 20
-1
votes
1 answer
Can you call addChild multiple times on UIViewController?
I'm working with a UIViewController and have two main displays of type UIViewController that I want to programmatically switch between. In order to do this I called addChild() two separate times upon instantiating the parent view controller.
Then…

ocuke
- 51
- 7
-1
votes
3 answers
Using button in another view controller
This question might be asked already about hiding buttons, but I was wondering if I could just click a button which would affect the variables in another view controller. For example, I have firstViewController and endViewController. There's a…

Deadly Elmo
- 13
- 4
-2
votes
2 answers
How can I catch a nil error when trying to select a row in a UIPickerView?
Apparently, if you try to get an element out of a UIPickerView in viewWillAppear the first time a view is run, the app will crash with a returned nil error.
If I comment out the the following line and run the app, all works fine. Then I uncomment…

4thSpace
- 43,672
- 97
- 296
- 475