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.
0
votes
0answers
5 views
Can somebody explain automaticallyAdjustsScrollViewInsets, extendedLayoutIncludesOpaqueBars, edgesForExtendedLayout what does this exactly do?
I have been reading a lot about iOS7 UI transition.
I am not able to get what these three properties automaticallyAdjustsScrollViewInsets, extendedLayoutIncludesOpaqueBars, edgesForExtendedLayout??
...
0
votes
2answers
18 views
Hiding a UINavigationController on start page
Hi I have a navigationController that starts with a view controller in which in viewDidLoad has:
self.navigationController.navigationBarHidden = YES;
I click a button on that page and it ...
0
votes
1answer
15 views
Importing UIViewController-classed file to AppDelegate
I am using a GitHub project that will allow me to create a popup using a .xib file (GitHub link 1). I am also using another project from GitHub that creates a side menu (GitHub link 2).
I want a ...
0
votes
2answers
22 views
Instance method not found (return type defaults to 'id')
I am taking a warning from Xcode :
Instance method '-presentModalViewController:animated:completion:' not found (return type defaults to 'id')
Here is the code:
NewsWebViewController ...
0
votes
2answers
29 views
Hindrances of having many UIView in a single UIViewController [on hold]
Is it okay for an app to contain many Custom UIViews using a single UIViewController? I'm afraid that my apps would go slow if i will push this idea using single UIViewController and hide and show ...
0
votes
1answer
27 views
Transition to a Navigation View Controller
I have the following code:
- (IBAction)buttonPressed:(UIButton *)sender
{
//sentder.titleLabel
NSString *label = [(UIButton *)sender currentTitle];
if ([label ...
0
votes
2answers
29 views
Segue to a UINavigation Controller programmatically without storyboards
I have code that uses Storyboards for seques, like so:
- (void) prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
{
if ([segue.identifier isEqualToString:@"ShowDiagnosis"])
{
...
1
vote
2answers
23 views
IOS Remove CCLayer and Replace With ViewController
I'm going to preface this question with the fact that I'm a complete novice in IOS, and I'm trying to learn as I go here.
The app I'm working on has a single Navigation Controller containing a Title ...
0
votes
1answer
13 views
Auto Layout with UITabBarController
I'm trying to shift to Auto Layout in my app, but I'm having some trouble with my UITabBarController. Basically, I have two buttons on my home screen, and I want them to have equal sizes, one 50 ...
0
votes
0answers
9 views
Orientation changes under modal view controllers
Present modal view
Change orientation
2a. The modal view rotates
Dismiss the modal view
The parent view did not rotate and is now displaying wrong. Is there a fix?
(ALl of the subviews of the ...
0
votes
0answers
19 views
IOS: 'Register/Login' view controller and going back to it as necessary
I'm having issues with a Registration/Login View Controller when the user manually wants to Logout of the app.
So, the very first VC of the app is as follows:
REGISTRATION/LOGIN VC : Checks if ...
0
votes
1answer
35 views
Presented UIViewController refuses to rotate
I'm using the DDMenuController in my app to have drawers like facebook app.
when navigation everything is perfect, using push method, the view rotate perfectly without doing anything;
but when I use ...
0
votes
0answers
3 views
View properties/values in FormCollection object in Controller class
I want to know that how or precisely what data is populated in FormCollection object and how to view it? Also if i have a property as below in my view -
@Html.DropDownListFor(m => m.EmpId, new ...
-2
votes
3answers
45 views
C function in view controller issue
I use this function in my UIViewController
void showMap()
{
}
if I use objective-c function, I can call self.view, but how to call this in C-function inside UIViewContoller?
(I need to use ...
0
votes
1answer
21 views
Move to UITAB BAR Controller from a simple view controller
Friends i have a simple view controller .. in which there are 4 buttons . on any button press i want to go to tab bar controller . but on first button press , first tab of tab bar controller should ...