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
That's b/c UIBarButtonItem inherits from UIBarItem and NSObject. Only UI elements that inherit from UIView have superview properties.
UIBarItem
NSObject
UIView
superview