SwiftUI - Determining Current Device and Orientation

后端 未结 0 1466
既然无缘
既然无缘 2021-01-05 12:08

I am trying to detect when the device is on iPad and in Portrait.

Currently I use the UIDevice API in UIKIT and use an environment object to watch changes. I use the

相关标签:
回答
  • 消灭零回复
提交回复
热议问题