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

Commit

Permalink
Merge pull request #204 from ParsePlatform/nlutsenko.fbsdk
Browse files Browse the repository at this point in the history
Use non-nil facebook permissions by default in PFLogInViewController.
  • Loading branch information
nlutsenko committed Nov 19, 2015
2 parents 15f55e3 + 286e74a commit a308ff2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ParseUI/Classes/LogInViewController/PFLogInViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ - (void)_commonInit {
self.modalPresentationStyle = UIModalPresentationFormSheet;
_fields = PFLogInFieldsDefault;

_facebookPermissions = @[ @"public_profile" ];

if ([self respondsToSelector:@selector(automaticallyAdjustsScrollViewInsets)]) {
self.automaticallyAdjustsScrollViewInsets = NO;
}
Expand Down

0 comments on commit a308ff2

Please sign in to comment.