KLCPopup icon indicating copy to clipboard operation
KLCPopup copied to clipboard

IBAction Don't fire from xib view

Open ghost opened this issue 9 years ago • 2 comments

Hi I have a xib file that use KLCPopup for show popup view. when use view whitout KLCPopup, boutton IBAction fire; but when use KLCPopup boutton IBAction don't fire! Please Help, Thanks

ghost avatar Feb 10 '16 13:02 ghost

+1

akshitzaveri avatar May 21 '16 10:05 akshitzaveri

you should make this to keep the Xib no release

@property (nonatomic, strong)UIViewController * oneViewVC;
......
_oneViewVC = (your xib VC)
_popView = [KLCPopup popupWithContentView: (your xib VC).view
                              ......]

you can do everything in your xib VC;

MZChangchun avatar May 09 '17 01:05 MZChangchun