前言
更新Xcode后跑新機型出現(xiàn)黑線

1671695693128.jpg
原代碼:
_hintLabel = [[GestureLockHintLabel alloc] initWithFrame:rect2];
處理后代碼:
_hintLabel = [[GestureLockHintLabel alloc] initWithFrame:CGRectIntegral(rect2)];
前言
_hintLabel = [[GestureLockHintLabel alloc] initWithFrame:rect2];
_hintLabel = [[GestureLockHintLabel alloc] initWithFrame:CGRectIntegral(rect2)];