iPhone: Error when using the FPPopover class when using it with a UIBarButtonItem

后端 未结 4 1098
野的像风
野的像风 2021-01-11 10:19

I am using the FPPopover class which creates popups for iPhones. I followed the exact steps that are in the readme file but instead of using a UIbutton from a xib file, I am

4条回答
  •  心在旅途
    2021-01-11 11:16

    That's b/c UIBarButtonItem inherits from UIBarItem and NSObject. Only UI elements that inherit from UIView have superview properties.

提交回复
热议问题