iPad and iOS apps on visionOS

RSS for tag

Discussion about running existing iPad and iOS apps directly on Apple Vision Pro.

Posts under iPad and iOS apps on visionOS tag

133 Posts

Post

Replies

Boosts

Views

Activity

Downgrade iPad OS
I have several ipads that have been upgraded to 17.0.3 but I need to be able to back them up to 16.6.1 version. We have apps that do not work currently on 17. I have downloaded the 16.6.1 .ipsw file and every time I try to use it I get OS cannot be restored on "iPad". Personalization failed. Any way to get an os file that would work?
0
0
610
Oct ’23
Swift Chart LineMark create chart each time different
Hi There, Same data shows different line drawing. What I am missing here ? Each time I click to see chart, its drawing is different. Chart{ ForEach(data) { series in ForEach(series.data){ entry in LineMark( x: .value("Day", entry.day), y: .value("Amount", entry.amount) ) .foregroundStyle(by: .value("Doc", series.Doc)) .symbol(by: .value("Doc", series.Doc)) PointMark( x: .value("Day", entry.day), y: .value("Sales", entry.amount) ) .foregroundStyle(.purple) .symbolSize(symbolSize) } .lineStyle(StrokeStyle(lineWidth: lineWidth)) } } .chartLegend(position: .top) .chartYScale(domain: .automatic(includesZero: false)) .chartXAxis { AxisMarks(values: .automatic(roundLowerBound: false, roundUpperBound: false)) { value in if value.index < value.count - 1 { AxisValueLabel() } AxisTick() AxisGridLine() } }
2
0
1.9k
Oct ’23
How do load animated USDZs via Reality Composer Pro versus just doing it in code with raw files?
Creating an Entity and then changing between different animations (walk, run, jump, etc.) is pretty straightforward when you have individual USDZ files in your Xcode project, and then simply create an array of AnimationResource. However, I'm trying to do it via the new Reality Composer Pro app because the docs state it's much more efficient versus individual files, but I'm having a heck of a time figuring out how exactly to do it. Do you have one scene per USDZ file (does that erase any advantage over just loading individual files)? One scene with multiple entities? Something else all together? If I try one scene with multiple entities within it, when I try to change animation I always get "Cannot find a BindPoint for any bind path" logged in the console, and the animation never actually occurs. This is with the same files that animate perfectly when just creating an array of AnimationResource manually via individual/raw USDZ files. Anyone have any experience doing this?
0
1
1.1k
Oct ’23
Combine Master-Detail View and Tab View in iPad
Hello, I want to create a UI in which there are 4 main tabs representing individual views/screen (Just like the one in AppStore app). Now for some of the screens, I want to show the content of it using Master-Detail view - Just like iPad Messaging app where message list is in the master view and chatting is in the detail view. The TabView must remain visible to the users to navigate through all 4 views/screens. To show both, TabView and Master-Detail view, in one screen, I get to see 2 options. Show the TabView in MasterView section. In my opinion, this option is fundamentally a malpractice in perspective of UX. Because TabView is representation of shortcut of all 4 screens and user will use them to navigate through different screens, we must not restrict TabView in any other view. TabView must be placed at the top most hierarchy of the application. Keep the TabView in the top-most hierarchy and show in full width like it is shown in the AppStore app, and when user taps of any of the tab, the view that appears would have the Master-Detail View. Now in this one, I have concern of me manipulating the concept of Layout designs and worse UX. I am looking for the right way to implement such functionality with a good and UI/UX. Thank you.
0
0
693
Oct ’23
How to prevent/disable screenshots on iOS 17 beta ?
I want to disable taking screenshots of confidential information but it is not working in iOS 17 beta . For earlier version I am using ‘isSecureTextEntry' but it is unstable for the recent beta . I am still able to detect the screenshot but not prevent it by using UIApplication.userDidTakeScreenshotNotification . Is there any way to achieve it ?
5
0
10k
Oct ’23
Reality View toggle Entities activation
I'm trying to create a feature in my app vision OS app where i show a reality view and on button click toggle different entities as in showing them on button click and vice versa. Is this possible in Vision os? if so how can i do this ? All that I did now was to instanciate my scene which contains a car 3d model, red tyres and blue tyres. On a button click i'm trying to show the blue tyres instead of the red ones. Is this possible ? Thank you,
1
0
1k
Sep ’23
Is there any future plan to have RoomPlan API available directly in VisionOS
I read that room plan does not work in AVP even if you port an ios app that uses it as a window app in the headset it will not run? From what I understand RoomPlan uses Lidar which AVP will have so the hardware is there. Whats the reason for not making this avaiable for AVP and/or is there any actual plan to have it in future OS release post launch?
1
1
684
Sep ’23
Single Target for iOS & VisionPro App
Hi, I have an iOS app minimum iOS target 15.0 and trying to make compatible for visionPro. I have single target and using more then 10 third party frameoworks in iOS app like (facebook,googlesignin,and few others) which doesn't support visionOS till yet. My question is how I can strip out all those 3rd party libraries which are not compatible for visionOS but included/imported for iOS? Currently, if I strip out libraries and put conditional checks in swift files based on target, it would create a mess in whole app. Should I create separate target/project for visionOS and develop app without using those unsupported libraries? Will apple allow me to upload separate apps for iOS & visionPro. This approach would have alot of duplication in code and very difficult to scale. Any thoughts, best approach to handle this use-case please. Regards, Yasir
0
1
673
Sep ’23
NSInternalInconsistencyException
iOS16 above 0 CoreFoundation ___exceptionPreprocess + 164 1 libobjc.A.dylib _objc_exception_throw + 60 2 Foundation -[NSMutableDictionary(NSMutableDictionary) initWithContentsOfFile:] 3 UIKitCore ___UIKIT_DID_NOT_RECEIVE_A_REMOTE_CACONTEXT_FROM_COREANIMATION_INDICATING_A_POSSIBLE_BACKBOARDD_CRASH + 484 4 UIKitCore ___UIKIT_IS_REQUESTING_A_CACONTEXT_FROM_COREANIMATION + 64 5 UIKitCore +[_UIContextBinder createContextForBindable:withSubstrate:] + 400 6 UIKitCore -[_UIContextBinder _contextForBindable:] + 112 7 UIKitCore -[_UIContextBinder updateBindableOrderWithTest:force:] + 304 8 UIKitCore -[_UIContextBinder createContextsWithTest:creationAction:] + 80 9 UIKitCore -[UIWindowScene _prepareForResume] + 148 10 UIKitCore -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] + 756 11 UIKitCore -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] + 244 12 UIKitCore -[UIApplicationSceneClientAgent scene:handleEvent:withCompletion:] + 336 13 FrontBoardServices -[FBSScene updater:didUpdateSettings:withDiff:transitionContext:completion:] + 420 14 FrontBoardServices ___94-[FBSWorkspaceScenesClient _queue_updateScene:withSettings:diff:transitionContext:completion:]_block_invoke_2 + 152 15 FrontBoardServices -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 168 16 FrontBoardServices ___94-[FBSWorkspaceScenesClient _queue_updateScene:withSettings:diff:transitionContext:completion:]_block_invoke + 344 17 libdispatch.dylib __dispatch_client_callout + 20 18 libdispatch.dylib __dispatch_block_invoke_direct + 264 19 FrontBoardServices ___FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 52 NSInternalInconsistencyException Failed to create remote render context Lifecycle 09-16 12:49:47.944 UIApplication WillResignActive 09-16 12:49:48.484 UIApplication DidEnterBackground 09-16 12:53:38.998 UIApplication WillEnterForeground It seems, app becomes inactive before it 'willEnterForeground',then crash,I do not have any ideas of what happen.
1
0
920
Sep ’23
How to show immersive view as background of already built iOS App ?
I have an app that is now compatible to run on Vision OS iPad Mode, I want to show an immersive view 360 Video playing as background of that app This app was already built for iOS platform & now is compatible to run on Vision OS and I want to change background view for Vision OS platform without creating separate target for Vision OS. Regards, Yasir Khan
2
1
2.3k
Sep ’23
visionOS simulator on the iPadOS device
I was starting to test visionOS SDK on an existing project that has been running fine on iPad (iOS 17) with Xcode 15. It can be configured to run on visionOS simulator on a MacBook that runs M1 chip without any change in Xcode’s project Build Settings. However the Apple Vision Pro simulator doesn’t appear when I run Xcode 15 on Intel MacBook Pro, unless I change the SUPPORTED_PLATFORMS key on the Xcode’s project Build Settings to visionOS. Although, I can understand that a MacBook pro running M1 / M2 chip would be the ideal platform to run the visionOS simulator, it’s so much better if we can run the visionOS simulator on iPadOS, as it has the same arm64 architecture, and it has all the hardware needed to run camera, GPS, and Lidar. The Mac is not a good simulator, even though it has an M1 / M2 chip, first of all: It doesn’t have a dual facing camera (front and back) It doesn’t have a Lidar It doesn’t have GPS It doesn’t have a 5G cellular radio It’s not portable enough for developers to design use cases around spatial computing Last but not least, I have problems or not very clear on simulating ARKit with actual camera frames on a VisionPro simulator, while I would estimate this can be simulated perfectly on an iPadOS. My suggestion is to provide us developers with a simulator that can be run on iPadOS, that will increase developers adoption and improve the design and prototyping phase of apps running on the actual Vision Pro device.
4
2
3.1k
Sep ’23
How to resize VisionOS window proportionally?
Apps in VisionOS can be resized by dragging a bottom right corner. But the resize mechanism is freeform (it can be resized at any width and height). How to resize the window to keep aspect ratio like it's in the native Calendar VisionOS app using UIKit?
Replies
3
Boosts
0
Views
1.9k
Activity
Oct ’23
Downgrade iPad OS
I have several ipads that have been upgraded to 17.0.3 but I need to be able to back them up to 16.6.1 version. We have apps that do not work currently on 17. I have downloaded the 16.6.1 .ipsw file and every time I try to use it I get OS cannot be restored on "iPad". Personalization failed. Any way to get an os file that would work?
Replies
0
Boosts
0
Views
610
Activity
Oct ’23
Swift Chart LineMark create chart each time different
Hi There, Same data shows different line drawing. What I am missing here ? Each time I click to see chart, its drawing is different. Chart{ ForEach(data) { series in ForEach(series.data){ entry in LineMark( x: .value("Day", entry.day), y: .value("Amount", entry.amount) ) .foregroundStyle(by: .value("Doc", series.Doc)) .symbol(by: .value("Doc", series.Doc)) PointMark( x: .value("Day", entry.day), y: .value("Sales", entry.amount) ) .foregroundStyle(.purple) .symbolSize(symbolSize) } .lineStyle(StrokeStyle(lineWidth: lineWidth)) } } .chartLegend(position: .top) .chartYScale(domain: .automatic(includesZero: false)) .chartXAxis { AxisMarks(values: .automatic(roundLowerBound: false, roundUpperBound: false)) { value in if value.index < value.count - 1 { AxisValueLabel() } AxisTick() AxisGridLine() } }
Replies
2
Boosts
0
Views
1.9k
Activity
Oct ’23
How do load animated USDZs via Reality Composer Pro versus just doing it in code with raw files?
Creating an Entity and then changing between different animations (walk, run, jump, etc.) is pretty straightforward when you have individual USDZ files in your Xcode project, and then simply create an array of AnimationResource. However, I'm trying to do it via the new Reality Composer Pro app because the docs state it's much more efficient versus individual files, but I'm having a heck of a time figuring out how exactly to do it. Do you have one scene per USDZ file (does that erase any advantage over just loading individual files)? One scene with multiple entities? Something else all together? If I try one scene with multiple entities within it, when I try to change animation I always get "Cannot find a BindPoint for any bind path" logged in the console, and the animation never actually occurs. This is with the same files that animate perfectly when just creating an array of AnimationResource manually via individual/raw USDZ files. Anyone have any experience doing this?
Replies
0
Boosts
1
Views
1.1k
Activity
Oct ’23
VisionOS Simulators Rosetta not found
Other Simulators have Rosetta mode, but Apple Vision Pro does not have Rosetta mode.
Replies
2
Boosts
0
Views
759
Activity
Oct ’23
Combine Master-Detail View and Tab View in iPad
Hello, I want to create a UI in which there are 4 main tabs representing individual views/screen (Just like the one in AppStore app). Now for some of the screens, I want to show the content of it using Master-Detail view - Just like iPad Messaging app where message list is in the master view and chatting is in the detail view. The TabView must remain visible to the users to navigate through all 4 views/screens. To show both, TabView and Master-Detail view, in one screen, I get to see 2 options. Show the TabView in MasterView section. In my opinion, this option is fundamentally a malpractice in perspective of UX. Because TabView is representation of shortcut of all 4 screens and user will use them to navigate through different screens, we must not restrict TabView in any other view. TabView must be placed at the top most hierarchy of the application. Keep the TabView in the top-most hierarchy and show in full width like it is shown in the AppStore app, and when user taps of any of the tab, the view that appears would have the Master-Detail View. Now in this one, I have concern of me manipulating the concept of Layout designs and worse UX. I am looking for the right way to implement such functionality with a good and UI/UX. Thank you.
Replies
0
Boosts
0
Views
693
Activity
Oct ’23
VISION OS XCODE 15.1 Environment Var
Thread 1: Fatal error: No ObservableObject of type GlobalEnvironment found. A View.environmentObject(_:) for GlobalEnvironment may be missing as an ancestor of this view.
Replies
0
Boosts
0
Views
677
Activity
Oct ’23
Opinions on existing iOS app and Vision Pro
Hi, I have an existing iPhone/iPad app that I'm considering for Vision Pro. It's an informational app that shares info. with the watch. What would be better: To add a target for the vision pro. Make a separate app so I can use all of the VP's features. What are YOU doing to support the Vision Pro? Thanks, Dan
Replies
1
Boosts
0
Views
925
Activity
Oct ’23
How to prevent/disable screenshots on iOS 17 beta ?
I want to disable taking screenshots of confidential information but it is not working in iOS 17 beta . For earlier version I am using ‘isSecureTextEntry' but it is unstable for the recent beta . I am still able to detect the screenshot but not prevent it by using UIApplication.userDidTakeScreenshotNotification . Is there any way to achieve it ?
Replies
5
Boosts
0
Views
10k
Activity
Oct ’23
Roadmap to become a VisionOS developer
Hello there, Can you please give me a complete roadmap to become a 𝑽𝒊𝒔𝒊𝒐𝒏𝑶𝑺 developer?
Replies
1
Boosts
0
Views
630
Activity
Oct ’23
visionOS UIKit API for setting Z offset?
Hey everybody! Does anyone know if there's a UIKit API that's equivalent to SwiftUI's View/offset(z:)? https://developer.apple.com/documentation/swiftui/view/offset(z:) I'd like to translate a UIView forward in space a little bit on visionOS. ❤️
Replies
1
Boosts
1
Views
896
Activity
Oct ’23
Xcode 15 RC - visionOS has disappeared
I cant run my visionOS project with Xcode 15 RC, Apple Vision Pro target has disappeared I cant install on location settings tab and if I try to create new project visionOS app dont appear. Any solution ? PD: My visionOS project run successfully on beta 6 and 8.
Replies
4
Boosts
1
Views
3.6k
Activity
Sep ’23
Reality View toggle Entities activation
I'm trying to create a feature in my app vision OS app where i show a reality view and on button click toggle different entities as in showing them on button click and vice versa. Is this possible in Vision os? if so how can i do this ? All that I did now was to instanciate my scene which contains a car 3d model, red tyres and blue tyres. On a button click i'm trying to show the blue tyres instead of the red ones. Is this possible ? Thank you,
Replies
1
Boosts
0
Views
1k
Activity
Sep ’23
Is there any future plan to have RoomPlan API available directly in VisionOS
I read that room plan does not work in AVP even if you port an ios app that uses it as a window app in the headset it will not run? From what I understand RoomPlan uses Lidar which AVP will have so the hardware is there. Whats the reason for not making this avaiable for AVP and/or is there any actual plan to have it in future OS release post launch?
Replies
1
Boosts
1
Views
684
Activity
Sep ’23
Single Target for iOS & VisionPro App
Hi, I have an iOS app minimum iOS target 15.0 and trying to make compatible for visionPro. I have single target and using more then 10 third party frameoworks in iOS app like (facebook,googlesignin,and few others) which doesn't support visionOS till yet. My question is how I can strip out all those 3rd party libraries which are not compatible for visionOS but included/imported for iOS? Currently, if I strip out libraries and put conditional checks in swift files based on target, it would create a mess in whole app. Should I create separate target/project for visionOS and develop app without using those unsupported libraries? Will apple allow me to upload separate apps for iOS & visionPro. This approach would have alot of duplication in code and very difficult to scale. Any thoughts, best approach to handle this use-case please. Regards, Yasir
Replies
0
Boosts
1
Views
673
Activity
Sep ’23
NSInternalInconsistencyException
iOS16 above 0 CoreFoundation ___exceptionPreprocess + 164 1 libobjc.A.dylib _objc_exception_throw + 60 2 Foundation -[NSMutableDictionary(NSMutableDictionary) initWithContentsOfFile:] 3 UIKitCore ___UIKIT_DID_NOT_RECEIVE_A_REMOTE_CACONTEXT_FROM_COREANIMATION_INDICATING_A_POSSIBLE_BACKBOARDD_CRASH + 484 4 UIKitCore ___UIKIT_IS_REQUESTING_A_CACONTEXT_FROM_COREANIMATION + 64 5 UIKitCore +[_UIContextBinder createContextForBindable:withSubstrate:] + 400 6 UIKitCore -[_UIContextBinder _contextForBindable:] + 112 7 UIKitCore -[_UIContextBinder updateBindableOrderWithTest:force:] + 304 8 UIKitCore -[_UIContextBinder createContextsWithTest:creationAction:] + 80 9 UIKitCore -[UIWindowScene _prepareForResume] + 148 10 UIKitCore -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] + 756 11 UIKitCore -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] + 244 12 UIKitCore -[UIApplicationSceneClientAgent scene:handleEvent:withCompletion:] + 336 13 FrontBoardServices -[FBSScene updater:didUpdateSettings:withDiff:transitionContext:completion:] + 420 14 FrontBoardServices ___94-[FBSWorkspaceScenesClient _queue_updateScene:withSettings:diff:transitionContext:completion:]_block_invoke_2 + 152 15 FrontBoardServices -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 168 16 FrontBoardServices ___94-[FBSWorkspaceScenesClient _queue_updateScene:withSettings:diff:transitionContext:completion:]_block_invoke + 344 17 libdispatch.dylib __dispatch_client_callout + 20 18 libdispatch.dylib __dispatch_block_invoke_direct + 264 19 FrontBoardServices ___FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 52 NSInternalInconsistencyException Failed to create remote render context Lifecycle 09-16 12:49:47.944 UIApplication WillResignActive 09-16 12:49:48.484 UIApplication DidEnterBackground 09-16 12:53:38.998 UIApplication WillEnterForeground It seems, app becomes inactive before it 'willEnterForeground',then crash,I do not have any ideas of what happen.
Replies
1
Boosts
0
Views
920
Activity
Sep ’23
Light Intro IOS Swift Vision Pro - ZIPZY GAMES
Light Intro IOS Swift Vision Pro - ZIPZY GAMES
Replies
1
Boosts
0
Views
768
Activity
Sep ’23
How to show immersive view as background of already built iOS App ?
I have an app that is now compatible to run on Vision OS iPad Mode, I want to show an immersive view 360 Video playing as background of that app This app was already built for iOS platform & now is compatible to run on Vision OS and I want to change background view for Vision OS platform without creating separate target for Vision OS. Regards, Yasir Khan
Replies
2
Boosts
1
Views
2.3k
Activity
Sep ’23
visionOS simulator on the iPadOS device
I was starting to test visionOS SDK on an existing project that has been running fine on iPad (iOS 17) with Xcode 15. It can be configured to run on visionOS simulator on a MacBook that runs M1 chip without any change in Xcode’s project Build Settings. However the Apple Vision Pro simulator doesn’t appear when I run Xcode 15 on Intel MacBook Pro, unless I change the SUPPORTED_PLATFORMS key on the Xcode’s project Build Settings to visionOS. Although, I can understand that a MacBook pro running M1 / M2 chip would be the ideal platform to run the visionOS simulator, it’s so much better if we can run the visionOS simulator on iPadOS, as it has the same arm64 architecture, and it has all the hardware needed to run camera, GPS, and Lidar. The Mac is not a good simulator, even though it has an M1 / M2 chip, first of all: It doesn’t have a dual facing camera (front and back) It doesn’t have a Lidar It doesn’t have GPS It doesn’t have a 5G cellular radio It’s not portable enough for developers to design use cases around spatial computing Last but not least, I have problems or not very clear on simulating ARKit with actual camera frames on a VisionPro simulator, while I would estimate this can be simulated perfectly on an iPadOS. My suggestion is to provide us developers with a simulator that can be run on iPadOS, that will increase developers adoption and improve the design and prototyping phase of apps running on the actual Vision Pro device.
Replies
4
Boosts
2
Views
3.1k
Activity
Sep ’23
How do you run Apple Vision Pro destination on the iPad?
There is a comment at https://developer.apple.com/forums/thread/732457?login=true that one user had success getting the Apple Vision Pro Simulator to run on his iPad. I saw this and tried it but failed. How is this possible?
Replies
0
Boosts
0
Views
577
Activity
Aug ’23