Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [7/25/17, 10:07:40 AM] tunghd.uet: NSURL *url = [NSURL URLWithString:@"fb://profile/<id>"];
- [[UIApplication sharedApplication] openURL:url];
- [7/25/17, 10:07:48 AM] tunghd.uet: fb://profile – Open Facebook app to the user’s profile
- fb://friends – Open Facebook app to the friends list
- fb://notifications – Open Facebook app to the notifications list (NOTE: there appears to be a bug with this URL. The Notifications page opens. However, it’s not possible to navigate to anywhere else in the Facebook app)
- fb://feed – Open Facebook app to the News Feed
- fb://events – Open Facebook app to the Events page
- fb://requests – Open Facebook app to the Requests list
- fb://notes – Open Facebook app to the Notes page
- fb://albums – Open Facebook app to Photo Albums list
- [7/25/17, 10:07:59 AM] tunghd.uet: Dùng scheme nhé bác
- [7/25/17, 10:08:19 AM] tunghd.uet: Check canOpenURl trước
Advertisement
Add Comment
Please, Sign In to add comment