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.
Как убрать зависания UIPickerView в симуляторе iOS