Is it within MainThread that AutoLayout calculates the size of the UILabel?

Asked 2 years ago, Updated 2 years ago, 89 views

Does AutoLayout use MainThread when calculating the size of the UILabel?In that case, I suspect that many rewrites will lock MainThread.

Also, is there a way to avoid using AutoLayout?

ios swift objective-c autolayout

2022-09-30 21:12

1 Answers

I think MainThread will handle it, but I don't think there will be a lock in a typical iOS app configuration (unless you place 10,000 UILabels, etc.)


2022-09-30 21:12

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.