I'm trying to 'do some stuff' at the same time as I am popping the top viewController off the stack. Popping a viewController from the stack does not seem to be considered a segue so I can't use prepareForSegue: sender: Is there an alternative method that would fulfill my need? Or is there a different approach I could be taking? Thanks a lot!!!
prepareForSegue: sender: alternative for popViewControllerAnimated:
630 Views Asked by Scott Mielcarski At
2
There are 2 best solutions below
Related Questions in OBJECTIVE-C
- How do I customize NSOutlineView to have border color?
- UIWebView Screen Fitting Issue
- How to hide "Now playing url" in control center
- CloudKit: Preventing Duplicate Records
- Image and Text locations in UIButton
- setting OpenGL version in objective-C
- Setup code for xibs in iOS. -awakFromNb:
- realm db, get parent link of object
- CFBundleDocumentType is not working in myproject-Info.plist file
- UIPopoverPresentationController not rendering properly
- Using Storyboard Reference
- Pass Data between two view controllers using 'Delegation' : Objective-C
- Unexpected CALayer Vertical Flipping on 3D Rotation 'Bounce'
- Setting View orientation to portrait is ignored
- UITextField append / between dates while enforcing character limit
Related Questions in IOS
- Overlapping UICollectionView in storyboard
- Cannot pod spec lint because of undeclared type errors
- Is the transactionReceipt data present in dataWithContentsOfURL?
- UIWebView Screen Fitting Issue
- ZXingObjC encoding issues
- iOS: None of the valid provisioning profiles allowed the specific entitlements
- How to hide "Now playing url" in control center
- CloudKit: Preventing Duplicate Records
- Slow performance on ipad erasing image
- Swift code with multiple NSDateFormatter - optimization
- iOS 8.3 Safari crashes on input type=file
- TTTTimeIntervalFormatter always returns strings in English
- How do I add multiple in app purchases in Swift Spritekit?
- Setup code for xibs in iOS. -awakFromNb:
- iOS Voice Over only reads out the title of any alert views
Related Questions in TABLEVIEW
- Javafx TableView with custom row color using CSS
- Unable to update row of tableView after connecting to a url
- How to add constraints to a Custom UITableViewCell
- Howto fix TableView right margin? (swift)
- How to remove imageView from tableview's cell, and reset the cell's height
- swift: send value back to UITableViewController from dynamic cell with UIDatePicker
- Need help adding data to a TableView
- Swift - self.tableview.reloaddata() not working on Master Detail Application
- Swift - passing data between two tableviews (2 viewcontrollers)
- Swift Soundboard App
- Swift: Cannot invoke 'reloadData' with no arguments
- Custom cell segue with data pass error - Swift
- How to populate data in table view with user input on button click in javaFX
- JavaFX tableView edit triggers KeyPress events
- Day for sectionIdentifier for Custom Section Titles
Related Questions in SEGUE
- How to segue to View Controller from skview
- iOS - Logout functionality
- After selecting a TableView Cell, pass the data back to the previous View Controller in Swift
- Swift ios viewDidLoad or viewDidAppear
- swift: select dynamic table cell and either push or pop view controller depending on stack
- terminating with uncaught exception of type NSException in Swift
- Segue animation doesn't align screen correctly
- Swift segue performed multiple times
- One UIAlertController function with multiple actions - is this possible?
- performSegueWithIdentifier method is very slow for modal segue
- Calling prepareforSegue from a UIButton?
- Segue must be modal with page navigation
- iOS Segue - Left to Right -
- Custom cell segue with data pass error - Swift
- After programmatically segueing, The ViewController has not been dismissed
Related Questions in POPVIEWCONTROLLER
- Override navigation controller back button
- popToRootViewController not removing prompt
- Popview after dismiss modal view controller in swift
- Storyboard - Popping to a View Controller then Pushing Causes multiple pushes
- Navigation bar flashes black on performing popViewController
- How can I popViewController to rootViewController?
- popViewController does not remove UINavigationBar items
- why in UINavigation bar, push and pop are not working proper according (XCode5) ios sdk-7?
- popViewController / viewWillAppear not animated in iOS 5
- Using PushView controller and Popviewcontroller make the app crashes
- prepareForSegue: sender: alternative for popViewControllerAnimated:
- What would be best manner to push viewcontroller from right using UInavigationcontroller?
- reloading data/refreshing data in parent ViewController
- Cart count not updating in navigation bar while popViewController in swift
- popViewController to a UIViewController initialized with a UIStoryboardSegue
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
When you are saying "pop" to the top ViewController, I assume you are using a navigationController. If that is the case, you can put whatever you want in the
method.