Skip to content

Commit f5bd924

Browse files
fix issue #75
1 parent 58363cd commit f5bd924

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

WYPopoverController/WYPopoverController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1535,7 +1535,7 @@ - (void)setPopoverContentSize:(CGSize)size
15351535
if ([viewController respondsToSelector:@selector(setPreferredContentSize:)])
15361536
{
15371537
@try {
1538-
[viewController removeObserver:self forKeyPath:NSStringFromSelector(@selector(setPreferredContentSize))];
1538+
[viewController removeObserver:self forKeyPath:NSStringFromSelector(@selector(preferredContentSize))];
15391539
}
15401540
@catch (NSException * __unused exception) {}
15411541

0 commit comments

Comments
 (0)