Posts

Post not yet marked as solved
1 Replies
488 Views
From the Apple visionOS ARKit scene reconstruction, we can get the geometry of the 3D objects: MeshAnchor.Geometry. I have tried calculating the bounding box of it but had no success. How could we calculate the width, height and depth from the MeshAnchor.Geometry?
Posted Last updated
.
Post not yet marked as solved
11 Replies
3.4k Views
I would like to remove the title bar of the catalyst version of my app, but it does not work on Ventura. It used to work on Monterey. I am using AppDelegate lifecycle. I am following the official documentation: https://developer.apple.com/documentation/uikit/mac_catalyst/removing_the_title_bar_in_your_mac_app_built_with_mac_catalyst The code: func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) { guard let windowScene = (scene as? UIWindowScene) else { return } #if targetEnvironment(macCatalyst) if let titlebar = windowScene.titlebar { titlebar.titleVisibility = .hidden titlebar.toolbar = nil } #endif }
Posted Last updated
.
Post not yet marked as solved
2 Replies
973 Views
I am building a document-based app with SwiftUI, but whenever I want to create a document in the app, the app shows an alert with the following title: "The document could not be opened" I hit the same problem with Apple's sample project: https://developer.apple.com/documentation/swiftui/building_a_document-based_app_with_swiftui The interesting part is that I only get this error message when I am creating a new file from the "Recents" tab, but when I am creating it from the "Browse" tab, then it works. The beta testers from my app are also experiencing this issue, and they use multiple types of OS versions, and they have enough storage to create the files.
Posted Last updated
.
Post not yet marked as solved
3 Replies
2.2k Views
I am using CustomIntentMigratedAppIntent shortcuts actions. When I want to show them in a SiriTipView, then it does not show up. I get two messages in the console: "[Metadata] Couldn't read autoShortcutProviderMangledName key from metadata." "Provided AppIntent does not match an App Shortcut, SiriTipView will not display." In the previous Xcode it worked well.
Posted Last updated
.
Post not yet marked as solved
0 Replies
933 Views
I would like to use the GroupActivitySharingController, but it seems it is not available for macCatalyst. On the iOS version, it works. The documentation says that it should be available for catalyst: https://developer.apple.com/documentation/groupactivities/groupactivitysharingcontroller Error message: "Cannot find 'GroupActivitySharingController' in scope" Is there anything I have missed? Thanks,
Posted Last updated
.
Post marked as solved
1 Replies
911 Views
I cannot use entity's playAnimation() (https://developer.apple.com/documentation/realitykit/entity/3335123-playanimation), and I get an error message: 'playAnimation()' is only available in iOS 15.0 or newer. With the previous Xcode I could use this function for iOS14, but now I can only use it for iOS15 or newer. Is there any way I can support this feature for iOS14?
Posted Last updated
.
Post not yet marked as solved
0 Replies
936 Views
I would like to create a custom experience using Group Activities. It would be a simple note-taking app in which the users can create a shared note using SharePlay. The tricky part: I would like to save the created note persistently (using CoreData) on all of the user's devices. Is it possible to save the data on all of the devices using Core Data or any other technology?
Posted Last updated
.
Post not yet marked as solved
1 Replies
1.3k Views
I would like to present a 3D USDZ animation (rotatable, scalable) to the users. The USDZ file contains a rigged 3D character doing push ups. I can open the file in AR Quick Look without a problem, but could not find a way to present it only as a 3D object and not in the real world. I have tried using SceneView but the animation did not load. However when I tried a static USDZ file then it worked, but for a USDZ animation it did not.
Posted Last updated
.