viewcontroller Questions
2
Solved
I am playing around with iBeacons implementing CoreLocation methods inside AppDelegate.swift (methods are implemented in AppDelegate to ensure App Background Capabilities)
In a SingleView applicat...
Wellfixed asked 21/3, 2015 at 3:4
3
Solved
Hi All I'm new to iOS development and am currently having an issue with something, I'm trying to make a login form appear modally if a user is not logged in.
I'm using NSUserDefaults to store an i...
Morbilli asked 4/11, 2011 at 19:0
5
Solved
I want to call a new view controller and remove the current view controller from the navigation controller stack.
For example. I am in view controller A and I call B.
Now I have in the stack A , B...
Bibb asked 21/12, 2011 at 14:24
1
Solved
I want to know if there is a way to use some view controllers within a view controller which provides the same functionality as Fragments in Android?
I want to use custom view controllers so I do n...
Zebulen asked 27/1, 2015 at 10:0
3
Solved
I've been trying to figure out how to hide and show iAds in my Spritekit Scenes. Currently I have it setup like this:
ViewController.h
#import <UIKit/UIKit.h>
#import <SpriteKit/SpriteKi...
Affirm asked 9/2, 2014 at 20:3
1
Solved
I am trying to switch to the second view by pressing the "feeling lucky" button. When I try out my simulator and press it, it just goes to a black screen. How could I fix this?
@IBAction func Feel...
Bethlehem asked 25/12, 2014 at 19:32
1
Solved
I am trying to create a pause screen on my game. I have added a 'PauseScreen' viewController in my storyboard with the Storyboard ID and Restoration ID set as "PauseScreenID" and to move to the pau...
Mccallion asked 22/12, 2014 at 18:24
3
I've looked at several answers to questions similar but none of the answer worked. I have an app where I need everything portait except for one photo viewer I have. In the supported orientations se...
Mccaslin asked 23/8, 2013 at 18:16
2
I'm new to Swift and iOS development, and am looking how to set up a main view where I want swipe right for a second view or left for a third view.
When I am in the second or the third view it shou...
Sepal asked 25/9, 2014 at 8:18
1
Solved
I'm new to iOS I'm having trouble understanding the difference between scene and a view. Unfortunately Apple's documentation isn't helping me. I read that a scene is what you see on the screen. But...
Maldonado asked 4/9, 2014 at 17:52
2
Solved
i used to say in obj-c
[self.tabBarController.viewControllers objectAtIndex:1];
but now in swift no ObjectAtIndex any more
self.tabBarController.viewControllers.ObjectAtIndex
Update
ok i ...
Moises asked 19/8, 2014 at 20:54
2
Solved
I'm trying to pass the selected index number of a listView selection from one ViewController to another but am running into an issue with the tableView didSelectRowAtIndexPath delegate runs slightl...
Luau asked 18/8, 2014 at 16:51
3
Solved
I've tried to following methods to force landscape on one my views:
- (NSUInteger)supportedInterfaceOrientations {
return UIInterfaceOrientationMaskLandscape;
}
- (UIInterfaceOrientation)preferr...
Proconsulate asked 30/9, 2013 at 13:11
4
Solved
Please help me out. I am very sorry if it is duplicate but i didn't get required answer that is why i am asking again.
I want to reload table of anotherview in my first view.
Thanks in adavance. ...
Patchwork asked 20/8, 2011 at 7:2
2
In my app, there's a collection view displaying a set of images retrieved from a web service. Each image has tags. So the app has the ability to filter images using tags as well.
Now I'm trying to...
Seve asked 10/3, 2014 at 12:28
4
Solved
Using the storyboard I created a new screen for a second View controller and added a Toolbar at the bottom. But when the view is shown, the toolbar doesn't appear. I'm using Segue to change views.
...
Chuff asked 13/2, 2012 at 23:44
3
Brand new to this site, pretty amateur knowledge here! Started teaching myself a few weeks ago. Got a pretty solid iPhone app however the last feature I would like to implement is the ability to;
...
Tamathatamaulipas asked 15/10, 2013 at 8:11
2
Solved
I want to add a pop up when someone pushes the "Back" button of my iOS App, to ask the user if he really wants to come back. Then, depending on the user's response, I would like to undo the action ...
Mesomorphic asked 9/1, 2014 at 18:50
6
Solved
I'm developing an iOS app and now I'm at a loss. I'm trying to pass data from the first View Controller to the first tab of a TabBarViewController (with using the storyboard). I found a lot of tuto...
Marcela asked 19/7, 2013 at 9:51
2
In Appdelegate.h
I imported the playerviewcontroller in both Appdelegate.h and Appdelegate.m files.
@class PlayerViewController;
@property(nonatomic)float volumeDelegate;
In Appdelegate.m
...
Luxemburg asked 23/8, 2013 at 11:32
6
Okay so here is the problem I'm running into:
I am attempting to switch from one viewController that I named MenuViewController which contains my menu (obviously). I have a separate viewController...
Ostrander asked 26/6, 2013 at 6:9
4
I have an iOS app that has a log in view (LognnViewController) and once a user is successfully authenticated they are taken to another view (DetailEntryViewController) to enter some simple details....
Longlegged asked 5/12, 2012 at 17:1
1
I have a view controller B that is pushed onto the navigation stack by root view controller A and this view controller B needs to display an alternative view if its model is in a certain state so i...
Floriated asked 1/5, 2013 at 1:2
1
Solved
Using:
Xcode 4.6
Storyboards
ARC
Model segue to SecondViewController
I have an app that has the main ViewController that loads a new veiwController when the device is rotated to the right. When th...
Clinkerbuilt asked 22/4, 2013 at 23:47
3
Solved
I have a view controller called vc0 which is presented like this:
[self presentViewController: vc1 animated: YES completion: nil];
And in vc1 I have a button to present another view controller:
...
Capillaceous asked 29/9, 2012 at 4:10
© 2022 - 2024 — McMap. All rights reserved.