We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58363cd commit f5bd924Copy full SHA for f5bd924
1 file changed
WYPopoverController/WYPopoverController.m
@@ -1535,7 +1535,7 @@ - (void)setPopoverContentSize:(CGSize)size
1535
if ([viewController respondsToSelector:@selector(setPreferredContentSize:)])
1536
{
1537
@try {
1538
- [viewController removeObserver:self forKeyPath:NSStringFromSelector(@selector(setPreferredContentSize))];
+ [viewController removeObserver:self forKeyPath:NSStringFromSelector(@selector(preferredContentSize))];
1539
}
1540
@catch (NSException * __unused exception) {}
1541
0 commit comments