You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You should not call this method directly. If you want to force a layout update, call the setNeedsLayout() method instead to do so prior to the next drawing update. If you want to update the layout of your views immediately, call the layoutIfNeeded() method.
引用苹果文档原文https://developer.apple.com/documentation/uikit/uiview/1622482-layoutsubviews
这里改成这样会不会好一些?
The text was updated successfully, but these errors were encountered: