Open Saafo opened 1 year ago
I've done some simple works and here is the Demo screenshot on visionOS
The simple works including:
keyWindow
with windows.firstObject
, which is not appropriate, and I'm not sure what's the best replacement(Although UIWindowScene
has a private property _isKeyWindowScene
and UIWindow
has a public property isKeyWindow
).UIScreen.mainScreen.scale
with 2
or UIWindowScene.traitCollection.displayScale
However, there still remains some works to be done:
Echo
always happens:(The crash issue only happens in SPM Example. In Cocoapods Example, it works fine.)
When directly run the demo, there's a fatalError: No Objective-C class named SISchemaRequestLink
. So I set showsSearchBar = NO;
in FLEXTableViewController.m
. However this fatalError happens again when I take a screenshot by cmd+s
:
I'm not sure whether it's an issue related to Echo
. Directly setup a UISearchController
works well.
Echo's crash is very frequent, can be reproduced by restarting the app again, or by press any key.
snapshot
feature (in views
left top button) need updates to UIGraphicsImageRenderer, which is also needed in iOS 17 🤔select
feature completely cannot working.Interesting thing: we cannot directly use keyWindow
, but the property still exist.
Whoa, nice work! You should put up a PR. I can help with the issues you listed, a lot of them can be worked around with #if
's checking for visionOS
Whoa, nice work! You should put up a PR. I can help with the issues you listed, a lot of them can be worked around with
#if
's checking for visionOS
I'm glad to provide a pr! But I haven't decided how to solve some of the issues, such as the keyWindow
.
And I may request for your help to solve the segmented view and the select feature
Since Xcode's
Debug Hierarchy
feature is not available on visionOS now, FLEX is heavily needed on visionOS platform.