Asks the delegate to open a resource identified by URL.
- iOS 2.0–9.0Deprecated
- Mac Catalyst 13.0–13.0Deprecated
Your singleton app object.
A object representing a URL (Universal Resource Locator). See the appendix of App Programming Guide for iOS for Apple-registered schemes for URLs.
YES if the delegate successfully handled the request;
NO if the attempt to handle the URL failed.
If the delegate also implements the
application: method, that method is called instead of this one.
This method is not called if the delegate returns
NO from both the
application: methods. (If only one of the two methods is implemented, its return value determines whether this method is called.) If your app implements the
application method instead of
application:, this method is called to open the specified URL after the app has been initialized.
If a URL arrives while your app is suspended or running in the background, the system moves your app to the foreground prior to calling this method.
There is no equivalent notification for this delegation method.