How to determine iOS app running on visionOS?

Hello,

My iOS app will support running on visionOS in compatible mode and I want to do some optimizations for the UI. Is there a flag can help to determine this compatible mode on visionOS? (Just like ProcessInfo.isiOSAppOnMac)

Thanks!

FB12757613

Answered by DTS Engineer in 768090022

There is no API available to determine this.

Accepted Answer

There is no API available to determine this.

How to determine iOS app running on visionOS?
 
 
Q