segue Questions

12

I'm creating an app that uses the Facebook SDK to authenticate users. I'm trying to consolidate the facebook logic in a separate class. Here is the code (stripped for simplicity): import Foundation...
Cuckoopint asked 22/12, 2014 at 14:0

5

Solved

I have a VC named Dashboard (D) which can open a VC named Login (L) and a VC named Register (R). Login can open VC Register too. I try to use storyboard as often as possible, so I have created wit...
Vignette asked 19/2, 2013 at 18:13

3

Solved

I've read several posts on this issue but none of them solved my problem. I'm coding an app where I have to click on a button ("Prepare") to go to the following ViewController. When the button is...
Shutdown asked 2/9, 2017 at 21:6

16

Solved

I send the user over to a page on a button click. This page is a UITableViewController. Now if the user taps on a cell, I would like to push him back to the previous page. I thought about someth...
Lollard asked 27/2, 2015 at 8:29

5

Solved

I want to hide the back button from my Apple Watch app from the status bar. I used the programmable segue to navigate. But I want to to hide/disable the back button. Is it possible?
Wellestablished asked 12/5, 2015 at 7:45

6

Solved

Answer: Use self.tabBarController?.tabBar.hidden instead of hidesBottomBarWhenPushed in each view controller to manage whether the view controller should show a tab bar or not. override func vie...
Capriole asked 16/2, 2016 at 8:13

2

Solved

So I have a prepareForSegue method like this: override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) { if segue.identifier == "fromEventTableToAddEvent" { let addEventViewC...
Uela asked 18/2, 2015 at 0:7

6

Solved

Using this code I am able to 'segue' to the same instance of my view controller func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) { let storyboard = U...
Timbered asked 23/1, 2017 at 10:32

6

I was under the impression that viewDidLoad will be called AFTER prepareForSegue finishes. This is even how Hegarty teaches his Stanford class (as recently as Feb 2013). However, for the first tim...
Gaylagayle asked 28/2, 2013 at 23:20

3

How would I pass data stored in a label from my Interface Controller to another interface controller in WatchKit using Swift? I can't seem to find an answer anywhere, hope someone here can help me....
Invoice asked 2/4, 2015 at 1:56

13

Solved

I am using presentViewController to present new screen let dashboardWorkout = DashboardWorkoutViewController() presentViewController(dashboardWorkout, animated: true, completion: nil) This pres...
Scheer asked 9/6, 2016 at 9:42

12

Solved

I've read the other posts on segues but none solve my question. Simply put, my ViewControllers are ordered, like a book. I want backward transitions (example: from page 9 to 8) to always present ...
Clayberg asked 10/6, 2015 at 17:38

3

Solved

I'm working on an app, and need to pass data between view and containerView. I need to send data and receive data from both Views. Let me explain better: I can change the Label Master (Touch the ...
Rags asked 18/12, 2015 at 3:51

13

Solved

When I am navigating back & forth between parent and child controllers in a master - detail navigation controller, i see a dark shadow on the right side of navigation bar at top. It started aft...
Brueghel asked 14/3, 2014 at 18:40

4

Solved

In the main view of my app I have a table view and two prototype cells. I have configured the segues for each cell using the storyboard. In the view controller I override prepareForSegue to pass in...
Gabriello asked 13/6, 2015 at 21:7

6

In my project I have a button on the bottom right side of the screen and i added another uiviewcontroller to the storyboard, did control-drag to the uiviewcontroller I wanted as the popover, then s...
Rateable asked 4/7, 2015 at 14:13

8

One of my segues transitions from a view controller to a tableview controller. I want to pass an array between the two, but with a navigation controller before the tableview controller, I can't fig...
Marcie asked 18/8, 2014 at 18:4

7

Solved

I created a table view and from there let say a user pressed a cell it will go to the detailItemView , but the only problem right now is that whenever a user is in detailItemView there is no back b...
Hamulus asked 19/5, 2015 at 13:12

2

Solved

When I try to create segue via storyboard it's only does open new view controller as pop out instead of fullscreen. I tried changing kind of segue from ,,Show (e.g. Push)" to others but then I get ...
Catabasis asked 22/10, 2019 at 14:55

2

Solved

My main view controller is in a navigation controller and it conforms to EditViewControllerDelegate protocol. It is the delegate of my two view controllers that I need to present modally. @interfa...
Sismondi asked 19/4, 2012 at 17:25

7

Solved

Is there a way to have a single ContainerView with multiple embed segues? The aim is for a ContainerView to hold a few different ViewControllers depending on what buttons have been pressed; only on...
Acute asked 23/8, 2013 at 16:32

1

Solved

keyWindow is also deprecated in iOS 13 thus making me find another solution for this problem. With the current updates with Swift 5.1, iOS 13, and Xcode 11 the code below when used creates the "c...
Overawe asked 29/9, 2019 at 3:10

6

Solved

I am wondering about how the functions in the title work and also about the sender parameter. Lets say a button click calls the performSegue method, does that also call the prepareSegue method as...
Tupper asked 14/6, 2016 at 23:4

3

Solved

I am trying to complete an application on IOS 5.1 with Storyboard. Basically I am doing a dropbox app. Since I am using Dropbox SDK link to Dropbox is handled in AppDelegate.m. User has the option ...
Frontolysis asked 6/9, 2012 at 17:47

1

So I have a problem during performing a segue between 2 view controllers. Let's call the 2 view controllers A: LoginViewController B: ViewController In B I have a "Log Out" button (It is a le...
Chi asked 2/2, 2016 at 9:54

© 2022 - 2025 — McMap. All rights reserved.