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

Commit

Permalink
Use non-nil facebook permissions by default in PFLogInViewController.
Browse files Browse the repository at this point in the history
  • Loading branch information
nlutsenko committed Nov 19, 2015
1 parent 15f55e3 commit 286e74a
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 286e74a

Please sign in to comment.