In a few of my UIViews, I have a few UIImageViews and UILabels. They are in a good position when the UIView is in portrait mode, but the positioning on the UIImageViews and UILabels are messed up when the UIView becomes landscape mode.
H开发者_Python百科ow can I make sure that the UIImageViews and UILabels are in the correct place for both portrait and landscape mode?
Thanks.
Set autoresizingMask properly, this will solve your problem automatically.
You can do.Just Apply Transform to convert their x,y coordinate from landscape to portrait ,etc.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论