viewcontroller Questions

5

DetailViewController: @IBOutlet var selectedBundesland: UILabel! TableViewController: override func prepareForSegue(segue: UIStoryboardSegue!, sender: AnyObject!) { if (segue.identifier ==...
Selfdeceit asked 21/8, 2014 at 9:16

2

Solved

So I have a view controller which I display as follows: func showProfileForTrainer(trainer: Trainers) { let viewPTProfileVC = ViewPTProfileVC() viewPTProfileVC.trainer = trainer self.navigation...
Hakodate asked 24/3, 2017 at 18:5

3

Solved

I have two views like this in Story Board: [View1] -> [Navigation Controller] -> [View2] To go from View1(has tableview) to View 2, i do this on click of a row on View1: self.performSegueWithIde...
Asparagus asked 15/5, 2015 at 10:22

6

I have 2 view controller, FirstViewController - > SecondViewController via [self presentViewController:SVC animated:YES completion:nil]; on SecondViewContrller when I do [self dismissViewCo...
Archaeo asked 29/11, 2013 at 7:34

2

Solved

I have a single view App and want to show a new ViewController when pressing a nav bar button in the right hand side. I call this VC by this code: - (IBAction)createEntryButton:(id)sender { Creat...
Acheron asked 24/2, 2013 at 13:42

3

Solved

Newest Update: I created a brand new project that is built the exact same way as below. However, this test project actually works just fine even though it seems to be the same... One thing I've not...
Noisemaker asked 8/7, 2013 at 17:44

4

Solved

In order to show my login screen when the app loads, and not after the user logs in, I have decided to add an auth object in NSUserDefaults when the user logs in successfully. When the app is launc...
Crooks asked 14/8, 2013 at 8:4

4

Solved

I am trying to set frame for imageview to original size of image and display it in center of view. I have written following code for this but image still appears in whole screen! Suppose image size...
Seta asked 28/7, 2011 at 9:7

1

Solved

I'm working on a large ios app and I'm also a newb. I'm trying to find the correct scene in a storyboard in a large app. I'm in the .swift file and I need a quick way to figure out which scene is a...
Ala asked 23/5, 2016 at 21:49

5

I'm having a hard time finding the answer to this question I assume is not that hard. How can I reference methods and properties defined on a viewcontroller from a SKScene ? And building on that:...
Cavorelievo asked 17/2, 2014 at 11:25

5

I am handling touches for a couple of my UI components in my view controller (custom subclass of UIViewController). It has methods touchesBegan:withEvent:, touchesMoved:withEvent:, and touchesEnded...
Ruthannruthanne asked 16/9, 2011 at 1:32

1

Solved

I have tableView (A) responsible for listing items CoreData and viewController (B) to add new item. To create a ViewController (B) custom, they chose to use the following Present Modally to use pre...
Neves asked 16/10, 2015 at 2:7

3

Solved

Within my viewDidLoad I would like some custom code based upon the previous controller. How can I access the segue source controller or the previous segue identifier in the destination controller'...
Strangle asked 30/5, 2013 at 22:18

0

I´m trying to implement a Popover for iPad and iPhone. Before iOS 9, there were different ViewController for iPad and iPhone. With iOS9 there should be a possibility to do this with a normal ViewCo...
Keratose asked 19/11, 2015 at 8:5

3

Solved

I was trying to set the ViewController with a parent view controller before it shows show that it can provide call backs, I done this using PrepareForSegue - (void) prepareForSegue:(UIStoryboardSe...
Intermigration asked 10/11, 2013 at 20:52

1

Solved

Following from this question: Loading Screen from any Class in Swift Issue: The loading overlay view will display but will not hide when hideOverlayView() is called. Oddly however, the overlay dis...
Florentinaflorentine asked 11/10, 2015 at 12:25

1

I am wanting both my AppDelegate and my ViewController to be called on startup (as expected). When only the ViewController is called: main.c int main(int argc, const char * argv[]) { return NSAppl...
Picker asked 30/9, 2015 at 11:40

2

I have a problem with my ViewController. My code has an error about initializers and I can't understand why. Please, take a moment to look at my code: import UIKit class ViewController: UIView...
Tubulure asked 22/9, 2015 at 13:37

2

Solved

Hi I am trying to convert the following objective C code into swift to navigate from one view controller to another view controller when a button is clicked. any help would be much appreciated Thi...
Housebreaker asked 5/12, 2014 at 23:11

2

I'm trying to integrate PKRevealController into an existing project of mine. https://github.com/pkluz/PKRevealController How do I set up my left view controller, right view controller, and front...
Excruciating asked 14/2, 2013 at 23:22

2

Solved

I'm trying to understand a behavior of navigating between ViewControllers with (and without) using a NavigationController and I'm misunderstanding some things while reading articles and docs so I d...
Semiramis asked 22/7, 2015 at 9:5

2

Solved

I want to implement a separate ErrorHandler class, which displays error messages on certain events. The behavior of this class should be called from different other classes. When an error occurs, i...
Submersed asked 1/6, 2015 at 10:14

3

Solved

The only solution I have seen was an answer to a stackoverflow question. I posted the link below. The answer I am referring is the 5th one. It seems that some users have some problems with the solu...
Tuinenga asked 24/11, 2014 at 18:45

1

Solved

I have two view controllers that send values back and forth via segues and the prepareForSegue method. This has been working out perfectly for me until I decided to embed my ViewController inside a...
Parrisch asked 15/4, 2015 at 3:55

2

Solved

First, I create a MainViewController. Then in MainViewController, I do [self presentViewController:modalViewController animated:YES completion:nil]; modalViewController.modalPresentationStyle = UI...
Melidamelilot asked 26/3, 2015 at 5:49

© 2022 - 2024 — McMap. All rights reserved.