From c1318adcc5e7346239cc94d4c785f1757eb09a06 Mon Sep 17 00:00:00 2001 From: Chris Yang Date: Tue, 31 Jul 2018 15:07:08 -0400 Subject: [PATCH] fix label with internal button clickeable rect --- MVMCore/MVMCore/Categories/UILabel+MFCustom.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MVMCore/MVMCore/Categories/UILabel+MFCustom.m b/MVMCore/MVMCore/Categories/UILabel+MFCustom.m index f1575b9..d41be5a 100644 --- a/MVMCore/MVMCore/Categories/UILabel+MFCustom.m +++ b/MVMCore/MVMCore/Categories/UILabel+MFCustom.m @@ -50,7 +50,8 @@ [textStorage addLayoutManager:layoutManager]; NSTextContainer *textContainer = [[NSTextContainer alloc] initWithSize:self.bounds.size]; - textContainer.lineFragmentPadding = 0; + // commenting out for after ios 10. keep this commented code for future references and monitoring + //textContainer.lineFragmentPadding = 0; textContainer.lineBreakMode = self.lineBreakMode;