mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-23 08:50:58 +00:00
Try isMacCatalystApp
This commit is contained in:
parent
36d8449cea
commit
70dfd36a70
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ struct IceCubesApp: App {
|
|||
@ViewBuilder
|
||||
private var appView: some View {
|
||||
if UIDevice.current.userInterfaceIdiom == .pad || UIDevice.current.userInterfaceIdiom == .mac {
|
||||
if ProcessInfo.processInfo.isiOSAppOnMac {
|
||||
if ProcessInfo.processInfo.isiOSAppOnMac || ProcessInfo.processInfo.isMacCatalystApp {
|
||||
splitView
|
||||
} else {
|
||||
splitView
|
||||
|
|
Loading…
Reference in a new issue