Closed maciekish closed 9 years ago
Actually calling setPreferredContentSize calls the swizzled implementation (itself) and results in an endless loop. Calling sizzled_setPreferredContentSize will call the original method and set the content size properly.
setPreferredContentSize
sizzled_setPreferredContentSize
The crash is reproducible by presenting a share sheet in a vanilla popover and then tapping "More" in the share sheet.
Actually calling
setPreferredContentSize
calls the swizzled implementation (itself) and results in an endless loop. Callingsizzled_setPreferredContentSize
will call the original method and set the content size properly.