QMUI/LookinServer

查看视图崩溃

ivoidcat opened this issue · 1 comments

*** Assertion failure in void _UIGraphicsBeginImageContextWithOptions(CGSize, BOOL, CGFloat, BOOL)(), UIGraphics.m:410
po self.frame
(origin = (x = 146.33333333333334, y = 12.833333333333334), size = (width = 0, height = 0))
是因为某些视图的size是0,但是这里没有判断

po self
<CALayer:0x302b3aae0; position = CGPoint (146.333 12.8333); bounds = CGRect (0 0; 9.66667 9.66667); delegate = <_UIPageIndicatorView: 0x1138934d0; frame = (146.333 12.8333; 0 0); transform = [0, 0, 0, 0, 0, 0]; layer = <CALayer: 0x302b3aae0>>; sublayers = (<CALayer: 0x302b39760>); opaque = YES; allowsGroupOpacity = YES; transform = CATransform3D (0 0 0 0; 0 0 0 0; 0 0 1 0; 0 0 0 1)>