79515940

Date: 2025-03-17 23:16:02
Score: 1
Natty:
Report link

You can hide the fields by setting the callout view's label to always be nil.

static NSString* emptyString(__unsafe_unretained UIView* const self, SEL _cmd) {
    return nil;
}

class_addMethod(objc_getClass("_MKUILabel"), @selector(text), (IMP)&emptyString, "@16@0:8");
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ryan Nair