This is a dedicated space for developers to connect, share ideas, collaborate, and ask questions. Introduce yourself, network with other developers, and join us in fostering a supportive community.

All subtopics
Posts under Community topic

Post

Replies

Boosts

Views

Activity

FocusState Issue with TextFields in ScrollView on iPad (iOS 18.0)
When using a VStack containing two TextFields inside a ScrollView on an iPad running iOS 18.0, the FocusState of the topmost TextField does not trigger, while the second TextField's FocusState works correctly. Adding an invisible TextField on top resolves the issue, but it appears to be a bug specifically in iOS 18.0 on iPads. This issue does not occur on iOS versions below or above 18.0 (including iOS 18.1). Code that is not working struct ContentView: View { @State var text: String = "" @FocusState private var focusState: Bool var body: some View { ScrollView(.vertical, content: { VStack(spacing: 0) { TextField(text: $text) { Text("Hello, World!") } .border(focusState ? Color.red : Color.gray) .focused($focusState) .onChange(of: focusState) { oldValue, newValue in print(newValue) } .onChange(of: text) { oldValue, newValue in focusState = true } } }) .padding() } } Code that is working struct ContentView: View { @State var text: String = "" @FocusState private var focusState: Bool var body: some View { ScrollView(.vertical, content: { VStack(spacing: 0) { // Invisible Text Field TextField("", text: .constant("")) .frame(height: 0) TextField(text: $text) { Text("Hello, World!") } .border(focusState ? Color.red : Color.gray) .focused($focusState) .onChange(of: focusState) { oldValue, newValue in print(newValue) } .onChange(of: text) { oldValue, newValue in focusState = true } } }) .padding() } }
0
0
279
Feb ’25
Restart Issue iPhone 14 Pro Max
I have a iPhone 14 Pro Max device with iOS 18.2.1 but I am facing an in which the device gets restart abruptly.Interestingly, today the device is not restarting at all. I attempted a hard reset by pressing the volume up button, followed by the volume down button, and then holding the power button, but this method was unsuccessful. When I connect the device to a charger, the Apple logo appears, but it disappears after a short period, and the device does not progress beyond this point. I would appreciate any assistance in recovering my device.Has anyone experienced the same issue with the iPhone 14 series?
1
0
232
Feb ’25
error 1001 no fill with facebook ads loading
Hi ! I am trying to insert interstitial ads in my app with facebook ads. I found app id, placement id and when I am running my app I have the following error : Interstitial ad failed to load with error: Error Domain=com.facebook.ads.sdk Code=1001 "No fill" UserInfo={NSLocalizedDescription=No fill, FBAdErrorDetailKey={ msg = "No fill"; }} Could you help me ?
2
0
475
Dec ’24
How to Restrict In-App Purchases to a Specific User Email or Differentiate Users?
Hello, I am implementing In-App Purchases in my app and want to ensure that only users whose email matches their Apple ID email (the account used on the device as apple account) can purchase the subscription. Is it possible to retrieve the Apple ID email from the device or verify if the email matches the user's email in the app? If this is not feasible, what is the recommended approach to differentiate users and associate subscriptions with specific users in a secure way? For instance, how do I ensure that a subscription is tied to the correct user within my app? I understand privacy constraints, but I am trying to find the best way to match the subscription to the correct user while adhering to Apple's guidelines. Any guidance or best practices would be appreciated. Thank you!
1
0
334
Jan ’25
iPhone 15 pro max help
Can someone tell me what this is I found on my iPhone {"appVersion":"3005","appBuildNumber":"5815.58.34"},"tccData":{"notificationTCC":"notAsked"},"debugData":{"name":""},"userData":{"userStartMonth":1,"userStartYear":2025,"userID":"DCC9D06F-B8B8-421A-9EF5-2F4C513880CE","userIDContext":"userEvents"},"appSessionID":"CE5029A5-CAA1-4704-B706-41A4AC12EA26"},"events":[{"metadata":
1
0
244
Jan ’25
Iphone mirroring not functioning properly
After I got my repaired phone back from the shop, I noticed that iphone mirroring is not functioning like normal. I tried every solutions from deleting the .plist files and reset my phone's connection, but now it seems like the problem comes from the mirroring app itself. After deleting the .plist file and resetting the MBP, the setup for the mirroring app won't let me continue, as clicking the "continue" button only flash the descriptions of the mirroring feature for a slight moment, then return to the same setup UI as before. Is there anyway to completely delete and reinstall this app so that it functions again?
0
0
112
Mar ’25
App crashing. "exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
I'm receiving this error message from Apple saying that my app is crashing when they test, but I've already done the tests on the iPad version they recommended and it worked normally. Message below of the review team: Hello, Thank you for your resubmission. Upon further review, we identified additional issues that need your attention. See below for more information. If you have any questions, we are here to help. Reply to this message in App Store Connect and let us know. Review Environment Submission ID: 4f068d93-c30e-431c-b65c-6ff4c3ab1098 Review date: January 23, 2025 Version reviewed: 1.0 Guideline 2.1 - Performance Issue Description The app still crashed during review. Apps that crash negatively impact users. Steps leading to crash: The app crashed upon login attempt. Review device details: Device type: iPad Air (5th generation) OS version: iPadOS 18.2.1 I left the file below crashlog crashlog.txt
0
0
407
Jan ’25
Camera's settings at calibration time
Hi everyone, I am wondering under which settings the camera(s) were set by the time they were calibrated. For instance, one aspect that is easy to find is the reference resolution of the images taken when calibrating the intrinsics, this is by retrieving intrinsicMatrixReferenceDimensions. Making sure that the principal point is referenced to the by the time resolution used when the calibration was ongoing. However, recently I saw that there are focusing modes that potentially displace the lens' physical position. Settings like: AutoFocusRangeRestriction: none, near, far setFocusModeLocked: Locks the lens position at the specified value, and sets the focus mode to a locked state. My concern lies the impact this focusing lens displacements have on the intrinsic matrix parameters, if the lens is displaced, these parameters no longer describe the camera since the lens position has changed w.r.t. the lensPosition set when they were calibrated [0-1]. If my understanding is correct the AutoFocusRangeRestriction is just a range freedom the system is allowed to auto-focus and not a specific lens position. Conversely, the setFocusModeLocked does indeed fix the lensPosition to a certain value [0 - 1]. In simple words, what is the focus lensPosition the cameras were set when calibrating them for intrnisics?
0
0
460
Jan ’25
Please support device mirroring with cable and without iCloud login
Hi all, if anyone from apple Dev team is seeing this, please do consider supporting device mirroring without the need to login to icloud and with cable connection in addition to wi-fi. I am working in a corporate setting which does not allow us to login to icloud, thus I am unable to use device mirroring when my work really needs is, I am stuck with Quick time preview. I am quite sure, that this does not only apply to me.
1
0
298
Jan ’25
Notes.app EXEC_CRASH (SIGKILL (Code Signature Invalid))
I'm pretty desperate today and unfortunately it's making me sick, really sick. Yesterday I edited a note on a MacBook Pro, M2 processor, MacOS Sequoia 15.8.1 (-1) and today the text work I invested several days in is lost. My only option is to delete the note! So far I've had very, very good experiences with the Notes.app, robust, reliable, manageable range of functions. When integrating the math functions I became really suspicious for the first time. I had calculated series and sequences and suddenly the Note.app froze for a worryingly long time, in fact the entire operating system was blocked. Then today I got a huge shock, the note can no longer be opened, neither on the iPhone nor on the MacBook Pro. The note contained my business concept for a business partner. I had already been writing the concept for several days! I estimated the value at several thousand euros. This has torn me apart, I can feel myself getting sick. I'm going to the doctor tomorrow and it might take a week for me to get a sick note. I'm pretty shocked. Here are the technical details, in case someone at Apple Incorp. wants to look into it. The note contains links and photos and is encrypted! Which in and of itself is an impossibility. Or is it? In any case, the Notes.app has always stubbornly claimed that I cannot encrypt notes with this content. That's a paradox, isn't it? I'm schizophrenic! I'm attaching the Notes.app crash report to this post. I can't say more at the moment. Except that I'm very, very sad and very, very shocked. Notes wurde unerwartet beendet.
1
0
254
Mar ’25
Apple Relationship Manager (ARM) – A Business CRM for Calls & Messages
Apple has a massive opportunity to improve iOS for business users with ARM (Apple Relationship Manager)—a built-in tool that allows professionals to log, summarize, and integrate calls & messages into CRM workflows. Many professionals (salespeople, executives, entrepreneurs) use iPhones for business, but there’s no easy way to track conversations, categorize interactions, or integrate messages with a CRM. ARM would solve this by allowing: ✅ AI-powered call summaries (users get a suggested summary after each call, which can be reviewed and tagged). ✅ iMessage/SMS tagging (users can hold down messages to assign a sentiment or create a follow-up). ✅ CRM Integration (ARM logs could sync with HubSpot, Salesforce, etc.). How ARM Would Work: • Users could tap an “ARM Accept” (green accept button with the ARM logo instead of white phone symbol) button before a call to activate AI-powered summarization. • After the call, users would review/edit the summary and log a sentiment (e.g., “Needs Follow-Up”). • In iMessage, users could long-press messages to summarize conversations and tag key interactions for both blue and green messages. • ARM would keep everything on-device, ensuring privacy and security. Since Apple Intelligence is already introducing AI-powered features, ARM could make iPhones the ultimate business communication tool while keeping everything private and secure. If you also want Apple to build this, submit feedback at Apple Feedback and comment here to show support!
1
0
177
Feb ’25
Request Apple enterprise account renewal failure solution
We are a technical team of a large enterprise whose main business depends on internally developed iOS applications. Our Apple enterprise developer account expires on February 16th, and we filled in the renewal application form before that, but it was rejected by Apple. We contacted the Apple consultant through Apple's official website, and they said that the enterprise department is a separate department, and they could not solve my problem. Later, after efforts, I directly contacted the email address of the enterprise department, and I explained our situation. After their review, the final plan still could not renew, but only extended the use of our P12 certificate, and the maximum extension was one year in the end, so that we can deal with the application that is being distributed by the enterprise as soon as possible. May I ask if there is any better way to successfully renew my account? We only extended the certificate, which is not what we want, but this is the only way at present. If there is a good way to communicate, please check my personal information and have my email address for communication. Thank you all
0
0
299
Feb ’25
I can't disableScreen Sharing session initiated by somebody else
Another developer tried to start a screen-sharing session with me on my M1 MacBook Air this morning (Sequoia 15.3). He reported however that another session was already under way on my machine. I looked in System Settings and found that the "Screen Sharing" setting was grayed out, with the notation that "This service is currently being controlled by the Remote Management service". Access to the service is disabled however, and I have no way of turning it off. It's possible that the person who tried to help me got this session started, and that it then got aborted in some irregular way, but he see no indication of that and says there is no connection between us as seen from his end. This makes me nervous security-wise. Is there some way I can turn this off and ensure that I am not being screen-shared against my will, as it were? TIA, Howard
0
0
134
Feb ’25
Apple Developer Enrollment
Hello, I am trying to enroll to apple developer program as solo developer. While trying to enroll via app my passport and drivers license are not validated. When trying to enroll via web, I fill in the details and try to make the payment, but payment itself is not deducted from my bank account. I receive email that payment is being processed, but nothing further happens.
0
0
145
Feb ’25
Developer Program Billing
Hi, I did get the renew invoice in email but there was an additional charge the same day / time for $6.19 from Apple , seems like it is related but cannot find any invoice in email or anything other than a charge line on the credit card. Does anyone have any idea what this additional charge might be? Still waiting to hear back from Apple.
0
0
236
Jan ’25
CarPlay - Parking
Dear Developers, I'm exploring the feasibility of playing video content on CarPlay when the vehicle is in a parked state. Could you please provide guidance on whether this is supported and, if so, the best practices for implementation?
1
0
375
Jan ’25