Thanks for the crash report.
the product resides on maccatalyst folder, I thinks it's native.
Yep.
It shows that some infinite recursive call exists.
Indeed. Here’s an example of how this repeats:
57 jp.dig-x.GAZZ … -[PeerRoomView drawRect:] + 3736
58 com.apple.UIKitCore … -[UIView(CALayerDelegate) drawLayer:inContext:] + 636
59 com.apple.QuartzCore … -[CALayer drawInContext:] + 312
60 com.apple.QuartzCore … CABackingStoreUpdate_ + 196
61 com.apple.QuartzCore … invocation function for block in CA::Layer::display_() + 64
62 com.apple.QuartzCore … -[CALayer _display] + 1760
63 com.apple.UIKitCore … -[UIView _dispatchTintColorVisitorWithReasons:] + 324
64 com.apple.UIKitCore … -[UIView setTintColor:] + 204
65 jp.dig-x.GAZZ … -[PeerRoomView drawRect:] + 3736
I’m not a UIKit expert but setting tintColor
within your -drawRect:
implementation seems kinda suspect to me. A -drawRect:
method is supposed to draw based on view properties, not change view properties.
Anyway, I’ve retagged your question so that more relevant folks will see it. And if you end up completely stuck, I recommend that you open a DTS tech support incident and talk with one of our UIKit experts.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"