Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在制作一个 iMessage 应用程序。我已经实施viewWillTransition(to:with:)以调整/重新排列我的应用程序中的视图。当我的应用程序presentationStyle一切.expanded正常时。然而,在.comapct模式下,size给定的是我的视图控制器的当前大小,而不是它将转换到的大小。
viewWillTransition(to:with:)
presentationStyle
.expanded
.comapct
size
如果我犯了一个错误,或者这只是 iOS 10 的错误,现在有人吗?
提前感谢您的帮助。
Xcode-8.1已解决上述问题。所以更新到最新的 Xcode。