Tagged Questions
32
votes
9answers
8k views
is groupTableViewBackgroundColor deprecated on iOS 6?
I was just testing my app with iOS 6.0 and Xcode 4.5GM and I have set up a view like this:
[self.view setBackgroundColor:[UIColor groupTableViewBackgroundColor]];
So, the view has the same pattern ...
33
votes
7answers
14k views
Is it possible to determine whether ViewController is presented as Modal?
Is it possible to check inside ViewController class that it is presented as modal view controller?
2
votes
2answers
5k views
Add subview from a xib or another scene with storyboard
I'm new to iOS and Xcode.
I can't figure out how to design a separated view and make it be added into the main UIViewController using storyboard.
I did different approaches..
Just grab an UI object ...
1
vote
1answer
442 views
Retain view state upon reloading
I am developing an iPad application that is essentially a sequence of user instructions to mimic a real life system test, with the ability to make modifications on each view if components were to fail ...
0
votes
2answers
2k views
how to determine which view loads on returning to foreground from the background in iOS?
I have an application which has more than one view.
When I return to the foreground from the background, I want to determine which view I am in presently. How would I do that?
[EDIT]
I understand ...
-2
votes
2answers
465 views
How can I know which view I am clicking? And why the button no reaction?
I am designing a viewcontroller which have several button bar, each bar canbe clicked and show a content view.like:
http://i.stack.imgur.com/m5V4Q.png
When I click the buttonbar, it's frame will ...
12
votes
1answer
2k views
When does a view (or layer) require offscreen rendering?
Hellothis weekend I started to watch the 2011 WWDC videos. I've found really interesting topics about iOS. My favorites were about performance and graphics, but I've found two of them apparently in ...
38
votes
2answers
26k views
Perform Segue programmatically and pass parameters to the destination view
in my app I've a button that performs a segue programmatically:
- (void)myButtonMethod
{
//execute segue programmatically
[self performSegueWithIdentifier: @"MySegue" sender: self];
}
I ...
8
votes
1answer
14k views
Open another view when button is pressed in iOS
I am completely new to iOS development and I want to load another view when a button is pressed in a present view.
I have created a view based application and following are the codes:
//My file name ...
1
vote
1answer
808 views
Change child view controller
I have a view controller that when I press a button a child view controller appear. This works perfectly but I want to change this child view controller for other one if I press the button next that ...
5
votes
2answers
2k views
Can you animate setRootViewController?
I'm using a SplitViewController which can't be part of a navigation controller. I'm using SetRootViewController on an IBAction, which is fine, but it's not animated. Ideally I'd like to use the same ...
2
votes
1answer
530 views
Resizable View..using user touch
Changing View size using user touch input
This is my question.. well sort of.. now it is old..and it was also kind of my duty to accept the guy answer since he helped me so much
This is in ...
2
votes
1answer
2k views
Adding background to entire UISplitViewController
Hey I want to add a background image to my UISplitViewController that spans the entire iPad screen and is visible underneath both my master and detail views.
I've tried this a number of different ...
2
votes
2answers
57 views
restricting autorotation on certain views
my app contains two table view controllers. in the first one i want the view to be able to be rotated left and right (in addition to the portrait mode), however in the second table view controller ( ...
1
vote
1answer
893 views
Moving content located under the keyboard
I have a question regarding the code found in the Apple documentation Moving content located under the keyboard. I have researched this, but I'm looking for clarification on the concepts I am fuzzy on ...