Skip to content

Commit

Permalink
Merge pull request #76 from nionguyen/master
Browse files Browse the repository at this point in the history
Fix bug can't change the content size of a popover
  • Loading branch information
vitalys committed Feb 1, 2016
2 parents 050a803 + 15befb0 commit f0cf061
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WYPopoverController/WYPopoverController.m
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ - (void)sizzled_setPreferredContentSize:(CGSize)aSize {
if ([self.navigationController wy_isEmbedInPopover] == NO) {
return;
} else if ([self respondsToSelector:@selector(setPreferredContentSize:)]) {
[self.navigationController sizzled_setPreferredContentSize:aSize];
[self.navigationController setPreferredContentSize:aSize];
}
#endif
}
Expand Down

0 comments on commit f0cf061

Please sign in to comment.