I am making an iMessage app. I have implemented viewWillTransition(to:with:)
in order to resize/rearange the views in my app. When my app's presentationStyle
is .expanded
everything works fine. However, in .comapct
mode, the size
given is the current size of my view controller, instead of the size it will transition to.
Does anyone now if I am making a mistake, or if it's just an iOS 10 bug?
Thanks in advance for any help.
Xcode-8.1 has resolved above issue . So update to latest Xcode.