An object implementing the
SKStoreProductViewControllerDelegate protocol is called when the user dismisses the store screen. Typically, this protocol is implemented by the view controller in your application that originally displayed the store screen.
Called when the user dismisses the store screen.
optional func productViewControllerDidFinish(_
- (void)productViewControllerDidFinish:(SKStoreProductViewController * _Nonnull)
The store view controller whose interface was dismissed by the user.
Your delegate should call the
dismissModalViewControllerAnimated:method on the view controller that originally presented the store screen. If your app paused any other activities before presenting the store, it can restart those services in this method.
Available in iOS 6.0 and later.