No way to know when SFSafariViewController did finish dismissing

Originator:sash
Number:rdar://24049244 Date Originated:04-Jan-2016 04:11 PM
Status:Open Resolved:
Product:iOS SDK Product Version:9.1
Classification:Other Bug Reproducible:Always
 
Summary:
SFSafariViewController doesn’t provide delegate for when controller did finish dismissing.
SFSafariViewController is a great tool for in-app authentication, however if you want to react to dismissing of SFSafariViewController when user taps Done or dismisses controller through gesture with presenting an Alert controller or any other controller, you are forced to use timers to wait till SFSafariViewController dismissed.

Steps to Reproduce:
1. Present SFSafariViewController
2. Set delegate to self
3. implement SFSafariViewControllerDelegate’s -safariViewControllerDidFinish:
4. From this method there is no way to know if controller did finish dismissing 

Expected Results:
delegate should provider transitionCoordinator so consumer can attach to the completion block.

Actual Results:
safariViewControllerDidFinish: doesn’t allow to detect end on the dismissal.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!