I need to use third party library called UIMonthYearPicker in my project.
I use the above library in my MKNewpary view controller. I implemented the UIPickerView in the The .xib of the MKNewparty view controller.
My MKNewpary.h
@property(retain,nonautomic)IBOUTLET UImonthYearPicker*picker;
How do I make sure this picker uses the UIMonthYearPicker class?
As per the instructions on the GitHub project page, you need to change the class of your UIPickerView
to UIMonthYearPicker
. Change the class in Interface Builder by navigating to the Utilities view -> Identity Inspector, and changing Class under Custom Class to UIMonthYearPicker
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.