Last active
February 21, 2017 09:30
-
-
Save Jerry0420/9cee5502b7a71a657eccb784fc2ed628 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
override func viewDidLoad() { | |
super.viewDidLoad() | |
faceBookLogIn.readPermissions = ["public_profile", "email", "user_friends"] | |
faceBookLogIn.delegate = self | |
// 第一次登入後可取得使用者token,後續即可直接登入 | |
if (FBSDKAccessToken.current()) != nil{ | |
// fetchProfile() | |
} | |
// Do any additional setup after loading the view, typically from a nib. | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment