-
Notifications
You must be signed in to change notification settings - Fork 378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue 28 nytphotosviewcontroller crashes on tapping share button on ipad #52
Issue 28 nytphotosviewcontroller crashes on tapping share button on ipad #52
Conversation
|
||
- (void)displayActivityViewController:(UIActivityViewController *)controller animated:(BOOL)animated { | ||
|
||
if(UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you update the if
statements in this method to have whitespace between the if
and the (
to conform to the Times Objective-C Style Guide?
Thanks!
f650c00
to
c147cb7
Compare
Thanks @Twigz, white spaces fixed :) |
} | ||
else { | ||
// iOS 7 | ||
_activityPopoverController = [[UIPopoverController alloc] initWithContentViewController:controller]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@heikkihautala is there a particular reason you're using the instance variable here rather than using self.activityPopoverController
as a property?
c147cb7
to
a491d10
Compare
a491d10
to
1d00753
Compare
Good points @bcapps! PR updated :) |
This looks good to us. Thanks, @heikkihautala! closes #28. |
…oller-crashes-on-tapping-share-button-on-ipad Issue 28 nytphotosviewcontroller crashes on tapping share button on ipad
No description provided.