Skip to content
This repository was archived by the owner on Jan 16, 2021. It is now read-only.

Commit a308ff2

Browse files
committed
Merge pull request #204 from ParsePlatform/nlutsenko.fbsdk
Use non-nil facebook permissions by default in PFLogInViewController.
2 parents 15f55e3 + 286e74a commit a308ff2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ParseUI/Classes/LogInViewController/PFLogInViewController.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ - (void)_commonInit {
103103
self.modalPresentationStyle = UIModalPresentationFormSheet;
104104
_fields = PFLogInFieldsDefault;
105105

106+
_facebookPermissions = @[ @"public_profile" ];
107+
106108
if ([self respondsToSelector:@selector(automaticallyAdjustsScrollViewInsets)]) {
107109
self.automaticallyAdjustsScrollViewInsets = NO;
108110
}

0 commit comments

Comments
 (0)