Pull to refresh

Comments 1

#if TARGET_IPHONE_SIMULATOR

#import <objc/runtime.h>
static void fixPickerView(void) __attribute__((constructor));

static void fixPickerView(void) {
    Method m = class_getInstanceMethod(objc_lookUpClass("UIPickerTableView"), sel_getUid("_playClickIfNecessary"));
    method_setImplementation(m, imp_implementationWithBlock(^(id _self){}));
}

#endif
Sign up to leave a comment.

Articles