Chat about spatial computing

Xcode 15 beta 2 is now available, and includes the visionOS SDK and Reality Composer Pro. Get started creating spatial computing apps, and post your questions and comments.

View posts about visionOS

View posts about Reality Composer Pro

Posts

Sort by:
Post not yet marked as solved
0 Replies
7 Views
In our app, we have implemented a feature where users can be redirected to the App Store to redeem a promo code through a deep link. Once the user enters the promo code and initiates the subscription process, the Apple Subscription dialog is presented. However, upon trying to complete the purchase, an "Authentication Required" dialog appears, prompting the user to complete their bank authentication. After completing the authentication and returning to the App Store, the page seems to load for about 2 seconds, only to once again present the "Authentication Required" dialog. This process loops continuously, preventing our users from successfully redeeming their codes and subscribing. This issue is prevalent among almost all users attempting the promo code redemption process. To better illustrate this problem, I've recorded a video showcasing the issue: https://www.youtube.com/watch?v=vv8KSClqE0A Steps to Reproduce: Initiate Redemption: In the app, tap on the button that redirects users to the App Store via a deep link for promo code redemption. Enter Promo Code: Within the App Store, input the provided promo code. Start Subscription: Initiate the subscription process, which triggers the Apple Subscription dialog. Encounter Authentication Prompt: Observe the "Authentication Required" dialog that emerges when trying to finalize the subscription. Complete Bank Authentication: Follow the instructions to complete the bank authentication process as indicated. Looped Authentication Prompt: After authentication and returning to the App Store, note that after a brief loading period (approximately 2 seconds), the same "Authentication Required" prompt appears again, creating a continuous loop. We kindly request guidance or a solution to rectify this user experience concern, as it is impacting a significant portion of our user base and is clearly demonstrated in the attached video.
Posted
by
Post not yet marked as solved
0 Replies
6 Views
Greetings, Question 1: I'm currently working on implementing a feature that involves tracking NFC tag reading events. Specifically, I aim to monitor these events for passes that have been added to the wallet using my application. This way, I can gain insights into the interactions users have with these passes and provide enhanced functionality based on their usage patterns. Question 2: Is there a way to implement a restriction on NFC-based passes, allowing them to be used only once for a specific action or purpose? I'm looking to ensure that once a user utilizes the NFC feature associated with a pass, the pass becomes inactive for any future interactions, thereby enforcing a one-time use scenario.
Posted
by
Post not yet marked as solved
0 Replies
5 Views
Is there a method to integrate a third-party email client or the Apple Mail client within our application?
Posted
by
Post not yet marked as solved
0 Replies
8 Views
I've updated my project from Beta7 to Beta8. Now, the models outside the screen view are being cut off, invisible when out of the 2D screen's width/height. Depth seems ok. Is there any property like CSS's overflow:hidden etc, that I can give to the RealityView so I can see the outsides? Code is something like this. struct AnimationTest: View { var body: some View { RealityView { content in if let scene = try? await Entity(named: "Card", in: realityKitContentBundle) { content.add(scene) } let transform = Transform(translation: [0.25, 0.0, 0.0]) ent.transform = transform ...
Posted
by
Post not yet marked as solved
0 Replies
12 Views
All of our XCUI tests were passing with Xcode 14, now on 15 the swipeLeft() and swipeRight() calls don't seem "strong" enough to advance a UIPageControl to the next page. I've added in the velocity parameter and set it to .fast, but it still seems to fail. Anyone have any issues with this? No idea how to solve it other than explicitly stating touch points to then drag across the screen. Seems odd
Posted
by
Post not yet marked as solved
0 Replies
14 Views
I'm currently working on a Swift project for an iOS app that involves receiving notifications. The app is designed to play different sounds based on a specific parameter when a notification arrives. The correct behavior to follow is as follows. There are two types of notifications in the project: start notifications and stop notifications. Once the app receives a start notification it starts an audio player, the audio lasts X seconds but is looped by the player so it potentially lasts forever. When the app receives the stop notification, the player stops and the sound stops. This works great when the app is in the foreground. When the phone is locked and therefore the app is closed, the sound that is heard is X seconds without the sound being repeated as it happens in the foreground. Furthermore, it often happens that when the stop notification arrives, the player does not stop and continues until the end of X s time. Does anyone have an idea of ​​how to put the loop to the sound of the notification with the phone locked and be sure that when the stop notification arrives the player stops? The sound stop works well on some devices while on others it doesn't even with the same iOS versions.
Posted
by
Post not yet marked as solved
0 Replies
17 Views
Hi, I used the functionality In-app Purchase to my iOS application. When I cancel the order within no of days period after I place the order?, Que. 1) What is the status of my refund? Que. 2) If Apple initiates the refund, How can I get the status of my refund? Que. 3) According to my research, I checked that When Apple processes the refund, It sends a Server notification to handle the order status in the bacend. My need is I want to handle such things while Apple processes any refund, I need proper docs or flow to handle the refund server notification. If there are any APIs that need to be called to get the refund-related data by transaction id then its also helpful for me. Make note : All the things Firstly I implement in sandbox environment. so please give me solution according to that.
Posted
by
Post not yet marked as solved
0 Replies
15 Views
ColorPicker has a bug in XCode 15 beta 8. There is an issue where ColorPicker pop-up window layout is pushed to the left. You cannot even select a color in the ColorPicker pop-up window where the problem occurred. After checking, it does not occur on most iPads and iPhones. For iPhone SE2 and SE3, problems occur with both the device and the simulator. XCode 15.0 beta 8 (15A5229m) iOS 17.0 (21A5326a)
Posted
by
Post not yet marked as solved
1 Replies
19 Views
My app's Widgets on iPhone rely on access to the Health Store to update. This makes them appearing in the new StandBy mode not a good experience as they never update. Is there a way to opt out of this mode but keep the options for my users to put Widgets on their home screen? Thanks
Posted
by
Post not yet marked as solved
0 Replies
15 Views
Hello, I have an app that you can select apps and then start monitoring. When I restrict the apps by button click, and monitor the activity, the scheduled time works and intervalDidEnd cancels shielding apps. But when I schedule shielding apps, intervalDidStart doesn't start shielding. What am I missing here? I have already added FamilyControls capability. import SwiftUI @main struct TestingScreenTimeAPIApp: App { @UIApplicationDelegateAdaptor(AppDelegate.self) var appDelegate var body: some Scene { WindowGroup { ContentView() } } } import SwiftUI struct ContentView: View { @StateObject var model = MyModel.shared @State var isPresented = false var body: some View { VStack { Button("Select Apps") { isPresented = true } .familyActivityPicker(isPresented: $isPresented, selection: $model.selectionToDiscourage) Button("Start monitoring") { model.startMonitoring() } .padding() } } } struct ContentView_Previews: PreviewProvider { static var previews: some View { ContentView() } } import Foundation import FamilyControls import DeviceActivity class MyModel: ObservableObject { static let shared = MyModel() private init() {} var selection: FamilyActivitySelection? = nil var selectionToDiscourage = FamilyActivitySelection() { willSet { selection = newValue } } func startMonitoring() { let intervalStart = DateComponents(hour: 11, minute: 09) let intervalEnd = DateComponents(hour: 13, minute: 14) let schedule = DeviceActivitySchedule( intervalStart: intervalStart, intervalEnd: intervalEnd, repeats: true) let center = DeviceActivityCenter() do { try center.startMonitoring(.activity, during: schedule) } catch { print ("Error: \(error)") } } } extension DeviceActivityName { static let activity = Self("activity") } import UIKit import FamilyControls class AppDelegate: NSObject, UIApplicationDelegate { func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool { Task { do { try await AuthorizationCenter.shared.requestAuthorization(for: .individual) } catch { print("Error: \(error.localizedDescription)") } } return true } } import DeviceActivity import FamilyControls import ManagedSettings class DeviceActivityMonitorExtension: DeviceActivityMonitor { let store = ManagedSettingsStore() override func intervalDidStart(for activity: DeviceActivityName) { super.intervalDidStart(for: activity) let model = MyModel.shared if model.selection != nil { let applications = model.selection!.applicationTokens store.shield.applications = applications.isEmpty ? nil : applications } } override func intervalDidEnd(for activity: DeviceActivityName) { super.intervalDidEnd(for: activity) store.shield.applications?.removeAll() } }
Posted
by
Post not yet marked as solved
0 Replies
13 Views
My company is a PSP and we have AP supported on our website. I am trying to enable AP on one of our clients domains and Apple Support told me that I all I needed to do was be added to the clients Apple dev team account as admin and to then create a new merchant ID under their account. I have done this, I created a AP payment processing certificate and a AP Merchant Identity Certificate, verified the domain and I still can't get it to work on their webiste. Any ideas?
Posted
by
Post not yet marked as solved
0 Replies
13 Views
I have the following model: @Model class Person { var name = "" @Relationship(deleteRule: .nullify, inverse: \Person.ref) var ref: Person? = nil } Now consider the following code: let peter: Person let cristina: Person peter.ref = cristina modelContext.delete(cristina) I would expected that peter.ref is nil, because referenced person was deleted. In reality, this won't even compile due to this error: Circular reference resolving attached macro 'Relationship' If I remove 'inverse' from the relationship it will compile, but it does not do what I need then. So is it possible to have a reference on the model itself with nullify capability? PS Using Xcode 15 beta 7
Posted
by
Post not yet marked as solved
0 Replies
20 Views
Hello! As far as I know, the App Store does not allow the display of adult content in apps. I have a question about whether it's possible for me to highlight in the app that "This user content has been filtered for the protection of minors and due to App Store policies." Additionally, I want to draw attention to the fact that "To view all content, please log in through a web browser." And on the website, I would provide an option to view adult content (of course, after age verification). Is this a feasible solution and does it comply with the App Store guidelines? (Imagine it as if the Facebook app doesn't display adult content, but if someone opens facebook.com from a web browser, then adult content would be accessible.) Essentially, I'm completely filtering out adult content within the app. However, I'm also indicating where it can be accessed. Is this acceptable? I definitely don't want to encounter any issues during the app's release. Thanks, Adrian
Posted
by
Post not yet marked as solved
0 Replies
13 Views
I want to generate a video from some images and that video should have some animation while changing one image to another. is it possible with UIView.transition(with:duration:options:animations:completion:) ? If it possible, then how can I achieve this ?
Posted
by
Post not yet marked as solved
0 Replies
15 Views
"Hello, I am not a developer, but I have a problem with Viber. Audio messages are not downloading, and pictures are loading poorly. This happened after I switched from my Samsung to an iPhone 14 Pro Max. I've tried reinstalling, the internet is good, and my girlfriend with the same phone has a similar issue."
Posted
by
Post not yet marked as solved
0 Replies
27 Views
Hello, I am curious if someone else also noticed this. We have started getting reports about our app not working correctly (mostly related to the Device Activity monitor that "runs" in the background, https://developer.apple.com/documentation/deviceactivity/deviceactivitymonitor). Upon checking the Xcode Organizer I can see somewhat significant amount of crashes that mostly appear to happen on iOS 16.6 - it is possible that our users don't wait with updating iOS but still looks suspicious. The crashes are related to ManagedSettings calls outside our own code. We haven't changes this code in a while so this coupled with the fact that these crashes happen "deep" in the ManagedSettings framework leads me to believe there is some other issue.
Posted
by
Post not yet marked as solved
0 Replies
14 Views
Launching lib/main.dart on iPhone 14 Pro in debug mode... Running Xcode build... Xcode build done. 26.9s Failed to build iOS app Error (Xcode): No such file or directory: 'Metal' Could not build the application for the simulator. Error launching application on iPhone 14 Pro.
Posted
by
Post not yet marked as solved
0 Replies
12 Views
Can I post about Apple Store Connect issues here? While entering test information to use Testflight, the phone number in the contact information behaves abnormally. I was told to enter only numbers, but even if I enter only numbers, an error occurs during validation. I entered it in the Korean form, but is it okay to use it in other languages? Does anyone know a solution?
Posted
by
Post not yet marked as solved
1 Replies
24 Views
is it possible to prioritise the app contact over the device contacts while registering caller id via CXCallDirectoryManager ? If i'm registering a phone number with name john from my app. it that phone number is already mapped to name johny. then johny is displayed as callerid. Any way to prioritise the app's caller id.
Posted
by
Learn More about - WWDC22.

TestFlight Public Links

Get Started

Pinned Posts

Categories

See all