Try isMacCatalystApp
This commit is contained in:
parent
36d8449cea
commit
70dfd36a70
|
@ -59,7 +59,7 @@ struct IceCubesApp: App {
|
||||||
@ViewBuilder
|
@ViewBuilder
|
||||||
private var appView: some View {
|
private var appView: some View {
|
||||||
if UIDevice.current.userInterfaceIdiom == .pad || UIDevice.current.userInterfaceIdiom == .mac {
|
if UIDevice.current.userInterfaceIdiom == .pad || UIDevice.current.userInterfaceIdiom == .mac {
|
||||||
if ProcessInfo.processInfo.isiOSAppOnMac {
|
if ProcessInfo.processInfo.isiOSAppOnMac || ProcessInfo.processInfo.isMacCatalystApp {
|
||||||
splitView
|
splitView
|
||||||
} else {
|
} else {
|
||||||
splitView
|
splitView
|
||||||
|
|
Loading…
Reference in New Issue