Apple Developers

RSS for tag

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

Learn More

Posts under Apple Developers subtopic

Post

Replies

Boosts

Views

Activity

Troubleshooting Video Loading Issues on iOS: Slow Performance Over Mobile Data but Fast on Wi-Fi
Hello, We are developing a social media application that allows users to share and view content in the form of images and videos. The app is built with Angular and Ionic, and we use Capacitor to integrate native functionalities. Currently, we are experiencing an issue with content loading on iOS devices. Specifically, when the iPhone is connected to Wi-Fi, videos load quickly and play smoothly. However, when using mobile data, videos take a long time to load or, in some cases, do not load at all. We are trying to identify the cause of the issue and determine whether it could be related to Xcode configuration or any system restrictions. Some potential reasons we have considered include: iOS Mobile Data Usage Restrictions iOS may limit mobile data usage for large downloads or streaming content if the app does not have the proper permissions. In Settings > Mobile Data, users can restrict data usage for specific apps. App Transport Security (ATS) Configuration Xcode and iOS enforce strict security policies for network connections through App Transport Security (ATS). If the API serving the videos uses HTTP instead of HTTPS or has restrictive headers, this could affect loading over mobile networks. Xcode Network Usage Settings Xcode allows configurations related to network access. There might be a setting limiting access to mobile networks when the device is not on Wi-Fi. Video Quality and Adaptability Differences If videos are not optimized for mobile networks (e.g., high-quality formats without adaptive versions), loading times could be significantly longer. Implementing HLS (HTTP Live Streaming) could improve playback on slower networks. Request Timeout Issues If video loading requests have a short timeout, slower mobile network connections might exceed this limit, causing the request to fail. Compression and Caching It is essential to check if videos are properly compressed and if caching is implemented to improve performance on mobile networks. Given this situation, we would like to know what Xcode settings might be affecting video loading performance on mobile data and how we can adjust them to enhance the user experience.
0
0
193
Mar ’25
Developer Enrollment Application
I'm near my wit's end. My school district's developer application has been "pending" for nearly 4 months. Every time I call, which is every couple of weeks or so, I'm told the department reviewing the application cannot be contacted and that they will "escalate it." Apparently, this other department doesn't even have a phone number. Does anyone have any idea why it would be taking this long? They have all our documentation. Absolutely zero communication unless I call. PLEASE HELP!
0
0
214
Jul ’25
Authentication Methods Research
Hi everyone, I am doing some research into authentication methods on iOS apps. I'm looking to understand the choices iOS developers make and why. If you're an iOS developer, I’d be super grateful if you could take a couple of minutes to fill out a short questionnaire — it’s just 6 questions plus a few demographics, and it really helps my research. 🙂 This is a Swansea University research project approved by the Faculty of Science and Engineering under approval number 120251357213133. Link to questionnaire: https://forms.microsoft.com/e/YZme9jYZE6
0
0
250
Jul ’25
Aftermarket Battery not recognised
While on ios26 beta2 i changed my battery for an aftermarket one. Phone cannot be charged anymore, battery status 1%. So it reboots. had to replace oem battery to make local backup, to revert to ios18. and have aftermarket battery to work again.
0
0
33
Jul ’25
Photo Markup Function?
Okay… help me out, I’m behind on the times. Upgraded to the 26 beta from … honestly I think I was still using 16-something? And I’m wondering where the photo markup feature went? To be clear, I’m referring to the ability to write on a photo or screenshot from the Photos app by clicking “Edit”, then “Markup”. Is it gone or am I overlooking it? And do forgive me if this feature has been gone for a while already—as I mentioned, it’s been a while since I bothered with an iOS update. (So far, I definitely liked the version I was on previously much more!)
0
0
115
Jul ’25
iOS26 Wi-FI Aware Sample Fails to Retrieve Paired Devices
Device: iPhone 15 Pro Max | iPhone 16 Pro iOS Version: iOS26.0(23A5287g) Xcode Version:26.0 beta 3 (17A5276g) Sample Code: Wi-Fi Aware Sample https://developer.apple.com/documentation/WiFiAware/Building-peer-to-peer-apps I tried using the official sample code to verify the Wi-Fi Aware functionality between two iPhones. During testing, the devices successfully paired — I can see each other’s devices under Settings > Privacy & Security > Paired Devices. However, in the Wi-FIAwareSample app, neither the Host nor the Viewer can retrieve the paired devices. I’m not sure what’s causing this issue. Any insights? do { for try await updatedDeviceList in WAPairedDevice.allDevices { // always 0 key/value pairedDevices = Array(updatedDeviceList.values) } } catch { logger.error("Failed to get paired devices: \(error)") }
0
0
477
Jul ’25
no internet connection
after updating to beta 4 the whole phone is not working anymore nothing is working only making calls and the camera no apps no internet even if it's connected to wifi or 5G ANd to get back to the old version you will lose your backup And now im stuck my data that i can't restore it cuz it have been made on the last IOS beta I don't want to lose my date and i don't know what to do Please help
0
1
237
Mar ’25
Apps in Library disappear
before like 15 mins ago, i was watching something on Instagram and back to Library to open Discord App when all my applications was gone from Library until i restarted my phone and everything was back, maybe it’s a bug or something. IOS 26 Beta 3
0
0
77
Jul ’25
Apple TV 4k 3rd Gen recovery failures
Hello there I have got into a bit of an issue with the Apple TV 4k 3rd Gen with Ethernet . So I installed the iOS 26 beta to try out the new changes I usually do this on Apple TVs but in this case it has a bug where my apple music randomly skipped to the next songs . So after some bit of reading I got to know that the apple TV as a recovery mode which could be accessed by pressing home and pause/play buttons . After getting there I was required to bring an iPhone close to start the recovery process which I did but somehow that process always failed I tried to plug in the Ethernet cable since my apple TV is literally 3-5 inches away from my main router I even tried the recommended option of switching to a 2.4ghz connection but nothing worked . I would think that by apple getting rid of the USB ports on these things they had a reliable method of recovery in case of error because these are computers they are bound to fail at some point . So for now am stuck with a boot looping apple TV without a port and I don't even know how that too came about since the recovery process barely starts and fails. Ps am in Africa where we have no apple stores so we usually deal with our products ourselves
0
0
329
Jul ’25
Saving a file using field at the top of document
Hi there, with the latest update, the ability to click in the file name field at the top of a document (eg Pages, Numbers) to add or change the name of the file, then select filing location, no longer works. Previously, a user could do this and then hit 'return' and it would save to that location with that new file name. It no longer does this. This is a very useful functionality to have. Can it be returned in a future update?
0
0
116
Mar ’25
Bluetooth scan cycle problem
I have the following questions that need official answers: 1: Whether the Bluetooth scanning cycle can be controlled through the software level. If it can be controlled, please tell me how to control it. 2: Now the IOS mobile phone scanning strategy, how long is the scanning cycle, and what is the scanning duty cycle in this scanning cycle
0
0
237
Feb ’25
Plugin/Module deployment support in App Store
Our app provides configuration and maintenance features for Siemens electrical devices. The app supports multiple devices and the devices have their own specific features, which also need to be supported by our App. The devices can be released to the market only when our app supports those features. Our app release timeline is once in every 4 months. We face a challenge when some of these devices are not able to deliver their features by our release time. So, we would like to make these devices plugins, which can be independently released, without releasing the App every time. The app would, of course, be released once in every 4 months, depending on the common features. I'm not able to find how to release only the plugins within the app, without releasing the entire app. Some one has suggested app extensions, but that does not fit our solution as in some cases, we need continuous polling of data from one or mode devices for minutes or hours, as the app can be used by the user to monitor some of the device values.
0
0
219
Mar ’25
NoobScript : a new (php-esq) programming language for mac/iOS etc development
Noob Software has been working on a new programming language designed primarily for mac development, with a syntax similar to PHP and some aspects from JavaScript. To demonstrate this language i've released the code for one of my apps "Noob Music" https://github.com/noobsoftware/NoobMusic3 i would like to hear if people are interested in using this programming language. I think there are many benefits to the high level syntax and high level thinking, and not having to define datatypes and such. The language also supports multithreading using the "async" keyword prefixed in front of the function keyword, like you would do in JavaScript only with multithreading instead of interleaved processing. Pushing to array is threadsafe and some other functinonality as well and it is recommended to use a new class instance within each async function. I have relied heavily on using webviews for UI so there is a layout engine i have developed for native view elements in Cocoa which at this point ar primarily WebViews. The webviews can define a callback function to receive messages from JavaScript, so combining these methods you get a full fledged "web" development feeling for mac development, with HTML+CSS+JavaScript and NoobScript
0
0
352
Jul ’25
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
289
Feb ’25
Our main account has been closed
Hello, The icloud main account with our app was closed for some reason we don't know why. We are unable to take action because we cannot accept current apple policies. We are unable to change the app's main account, and we have not been able to find out how to do this from Apple Turkey Support. How can we solve this problem?
0
0
62
Jul ’25
CarPlay music sound output from iPhone after enabled Enhanced Siri
With CarPlay communication plugin R18.1, I followed these steps to integrate Enhance siri, the music sound was output from carplay and there is no option for output to Car. ============================================ Enhanced Siri Declare supported audioFormats for the AuxIn and AuxOut streams Since the AuxIn and AuxOut streams for Siri do not have to be both active at the same time, the accessory must claim audio formats support for AuxIn Audio and AuxOut audio independently. The audio formats for each stream can differ from each other (48KHz for AuxOut and 16KHz for AuxIn). The new audio types represent these new streams - AuxIn/speechRecognition & AuxOut/speechRecognition. Check if connected device supports the feature AirPlayReceiverSessionHasFeatureEnhancedSiri() Claim support in the Setup Response message if device supports the feature Add kAirPlayKeyAccessoryEnabledFeature_EnhancedSiri key through the AirPlayReceiverServer delegate AirPlayReceiverServerCopyProperty_f function for the kAirPlayKey_AccessoryEnabledFeatures key. Helper function: CFArrayAppendValue() Add Enhanced Siri parameters dictionary in the INFO message Add dictionary through the AirPlayReceiverServer delegate AirPlayReceiverServerCopyProperty_f function for the kAirPlayKey_EnhancedSiriInfo key. kAirPlayKey_EnhancedSiriInfo dictionary parameters: Voice activation of Siri - kAirPlayKey_EnhancedSiriVoice Current language of voice model - kAirPlayKey_VoiceModelCurrentLanguage Supported languages of voice model - kAirPlayKey_VoiceModelSupportedLanguages Enhanced Button activation of Siri - kAirPlayKey_EnhancedSiriButton Supported zone(s) if any - kAirPlayKey_SupportedSiriTriggerZones Update AudioStream Get state of the AuxIn state by providing an implementation of AudioStreamUpdateState() - Off, local buffering, or streaming to device. Decouple input streams from output streams. AuxIn is an independent input stream only. The property kAudioStreamProperty_Direction will provide the necessary information if the stream is input, output or input & output. Provide a handler for the AirPlayReceiverSessionDelegate setEnhancedSiriParams_f This will provide additional information: Activation type Setting the language of the voice model Invoke the Communication Plugin to start buffering Once the activation type has been specified, the accessory can request the plugin to start buffering using AirPlayReceiverSessionAuxInStart(). Use the new APIs to trigger Siri: AirPlayReceiverSessionRequestSiriActionWithLatency() AirPlayReceiverSessionRequestSiriVoiceActivationWithLatency() AirPlayReceiverSessionRequestSiriVoiceActivationWithSample() Button presses and voice activations should use this new APIs which adds a timestamp of the activation. These APIs allow a choice of a latency or a sample for button and voice activations. If there is a delay between the user pressing the button to notifying the device on the button press, this latency value should represent this time. If the accessory can determine which zone activated, it can provide the zone with the request. Invoke the Communication Plugin to stop buffering You may need to invoke the plugin to stop buffering (AirPlayReceiverSessionAuxInStop()) if exclusive access to the microphone is necessary. Such instances may include but not limited to: Native voice recognition session Telephony Another stream function which uses the microphone starts modesChanged notification can be used to determine if a resource is being used Note, if the session ends, the plugin will automatically stop buffering
0
0
289
Mar ’25
How to change the main account of our App in our closed account.
Hello, our account was closed months ago. I have made a great effort to get a response by filling out all the forms, especially Apple Turkey, but months have passed and I have not reached a conclusion. We created a developer account and opened a developer account for our company with the help of duns. After opening the account, we published our application and suddenly our developer account was closed. Since our developer account was our main account, we could not fully control our application. We would like to know why the closed account was closed, how we can change our main account using our company information or how to open our closed account. We really wasted a lot of time with developer support and turkey support team and got no help! How can we solve this problem?
0
0
88
Jul ’25