I make an application using no storyboard and in this part of my app I need to create a unwind segue from ThirdViewController
to FirstViewController
programmatically only. I know how to do it using sotorybard but can't find any solution how to do it programmatically. Any sugestions?
相关问题
- “Zero out” sensitive String data in Swift
- SwiftUI: UIImage (QRCode) does not load after call
- Get the NSRange for the visible text after scroll
- UIPanGestureRecognizer is not working in iOS 13
- What does a Firebase observer actually do?
相关文章
- Using if let syntax in switch statement
- Enum with associated value conforming to CaseItera
- Swift - hide pickerView after value selected
- Is there a Github markdown language identifier for
- How can I vertically align my status bar item text
- Adding TapGestureRecognizer to UILabel in Swift
- Attempt to present UIAlertController on View Contr
- Swift - Snapshotting a view that has not been rend
You can't create an actual segue without a Storyboard, but you can do the equivalent action by calling
popToViewController
onnavigationController
. Here is an example that is connected to a button to return toFirstViewController
fromThirdViewController
:In an override of
viewWillAppear
, you can act upon that data that was passed back.