- Go to the app.plst file of the application.
- Add a line to it and name it "URL Types".
- Expand the first element in the "URL types" and add the line "URL ID", the value of this line should be the reverse domain for your application, for example. "Com.yourcompany.myapp".
- " URL" " URL".
- "URL-" URL-, , , "myapp://", "myapp".
URL, URL- . , URL- .
UIApplicationDelegate, . , , .
:
- (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url {
if (!url) {
return NO;
}
}
this.