Questions tagged [segue]

In iOS and Mac OSX, segue is a configurable object which specifies a transition from one scene to another.

Segues are visual connectors between view controllers in your storyboards, shown as lines between the two controllers. They allow you to present one view controller from another, optionally using adaptive presentation so iPads behave one way while iPhones behave another.

5127 questions
1
vote
0 answers

Losing Reference to UITabBarController On UINavigationController Push

Currently I'm using storyboards to segue between controllers. I have a UITabBarController with a UINavigationController for each tab. All my root UIViewControllers in their UINavigationControllers return the following when I log out the tab bar…
1
vote
0 answers

colorWithAlphaComponent not working in device ios 7

I want a pop up in my app. In the simulator the pop up is working fine and the background color of the view is also transparent. But I don't know why I am not getting the transparent color in the device. In the device the background is completely…
Akshara
  • 141
  • 1
  • 11
1
vote
1 answer

Unwind segue - go back to calling view when multiple views call it

I have a view controller (in a navigation controller) A that segues to View Controller B, and View Controller C also segues to B (A -> B <- C). View Controller B is used to select a value that is passed back to either A or C, but if I click 'Cancel'…
Aaron
  • 91
  • 1
  • 3
1
vote
1 answer

objective c memory/pointer issue on passing values from prepareForSegue to another viewcontroller

I'm trying to pass data from 1 viewcontroller to another, but the NSString is getting lost somewhere. I apologize in advance, I feel like I'm missing something dumb here. I've read so many posts on this but I can't figure out why my NSStrings are…
ldet
  • 71
  • 6
1
vote
2 answers

Is there something like prepareForSegue when going back with UINavigationController?

I have an array in my ViewOne, which I pass to ViewTwo with the prepareForSegue function. When I delete data of my array in ViewTwo and go back with the back button on the NavigationController or by swiping to right, the array in ViewOne has still…
user3653164
  • 979
  • 1
  • 8
  • 24
1
vote
1 answer

How to fix `prepareForSegue()` override `UIViewAnimation`

I have MainViewController which has stack view and its width is over screen's width. There is slide out menu at left side of storyboard. And there is Menu button on the screen which triggers an animation to changes UIStackView's from -260 to 0. But…
1
vote
1 answer

Passing Data Through Segue & some errors

Hey guys I need some one to help me finish my app, I need to finish it before Dec 15. I'm making a Tip Calculator Project in Swift2 and It must have a settings view where I select the default tip rate. I have some issues with passing data, when I…
user5647292
1
vote
1 answer

Prepare for segue, passing data

Hey guys I need some help here with my code, please take a look to the images to see what I see. I'm making a Tip Calculator Project in Swift and I must have a settings view where I select the default tip rate. I have some errors and I must fix…
user5647292
1
vote
1 answer

Trying to pass Data from current VC to the next but first checking if the user inputs the correct info

I am trying to pass data from the current View Controller to the next View Controller using an IBAction because I also need to check if the user is using the correct User Email and ID before going to the second View Controller. I am still new to…
RoboChris
  • 387
  • 1
  • 5
  • 18
1
vote
0 answers

IOS - Custom segue animation between two controllers

I am trying to implement a custom segue animation like this https://www.dropbox.com/s/ptyn84g7fdbthcc/video-1449571130.mp4.mp4?dl=0 right now I am using this code ViewController.swift @IBAction func loginScreen(sender:…
hellosheikh
  • 2,929
  • 8
  • 49
  • 115
1
vote
1 answer

Show (Push) Segue Leaving Imprint of Previous View

I have two views. Upon clicking a button, the other view should be segued onto the screen with a show (previously called push) segue. This works flawlessly, however, for some strange reason when transitioning a short imprint of the previous view is…
Aaron
  • 757
  • 5
  • 18
1
vote
1 answer

Performing Segue from - TableViewCell.xib to UIView - and - TableView.xib to UIViewController -

How can I perform segue from one .xib (TableCell.xib) to another .xib(UIViewController) on click on TableCell? override func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) { print(results?[indexPath.row])…
senty
  • 12,385
  • 28
  • 130
  • 260
1
vote
1 answer

Trouble with Segue between ViewController

I am still a little fuzzy on segueing between view controllers. I'm making an app that lets you answer questions to determine your personality type. I'm trying to go from my main menu to another view controller with a table to hold all the…
Talcicio
  • 65
  • 7
1
vote
1 answer

Programmatically Unwind Segue?

I have 2 ViewController, let's say Feed and Login. Initial page is the Feed and if not authenticated, user is getting directed to Login page. After filling the form, on successful login, I am trying to unwind back to Feed page. In FeedVC, I…
senty
  • 12,385
  • 28
  • 130
  • 260
1
vote
1 answer

3d touch navigate to specific viewController

I am trying to implement 3d Touch and I want to navigate to a specific viewController in a Master - Detail app. The viewController I am aiming to get to is the third controller in the hierarchy: MasterViewController ----> SettingsViewController…
George Asda
  • 2,119
  • 2
  • 28
  • 54
1 2 3
99
100