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

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
How to Display Multiple Fields in a User Registration Form Using TVML for Apple TV?
Hello, I am currently developing an application for Apple TV using TVML, and I am trying to create a user registration or login form with multiple input fields (e.g., "Username" and "Password"). However, I am facing issues with displaying multiple textField components in the formTemplate. Here are the approaches I have tried: Attempt 1: <document> <formTemplate> <banner> <title>Login</title> </banner> <banner> <textField>UserName</textField> </banner> <banner> <textField>Password</textField> </banner> <footer> <button id="button1"> <text>Button 1</text> </button> </footer> </formTemplate> </document> Attemp 2: <document> <formTemplate> <banner> <title>Login</title> </banner> <textField>UserName</textField> <textField>Password</textField> <footer> <button id="button1"> <text>Button 1</text> </button> </footer> </formTemplate> </document> In both cases, the layout does not render the fields as expected. Either the textField components do not display at all, or the structure seems incorrect. Could someone please guide me on the proper way to display multiple textField components in a formTemplate? Is there a limitation or specific requirement for structuring these elements? Thank you in advance for your assistance!
0
0
551
Jan ’25
Developer Enrollment - Bug.
Hi everyone, We're hoping someone here can help us out. We've run into a consistent issue when trying to enroll a new Apple Developer account as an organisation using our DUNS number. Here's what we've experienced: Individual enrollment through the Developer app works perfectly with a new Apple ID. However, when using an existing Apple ID and selecting organization enrollment, the process gets stuck: The payment button is greyed out in the Developer app. We're then locked out of enrolling through the app entirely. 4. When trying to complete the enrollment via the Developer website, there’s no valid payment method available (e.g., VISA option missing CVV field), and any attempts to proceed just loop without success. We're essentially stuck in a limbo state where we can’t proceed. We’ve gone through all the support channels: The automated assistant (Gaby) is unable to resolve the issue or understand the full context. Live chat support for both individual and business accounts told us they can’t assist and referred us back to the developer support system—which leads us back to square one. All members of our team were able to enroll individually without issue, but organisation enrollment consistently failed. Business support and Commercial support (spoken to supervisors) are unable to assist. They really tried and made an effort. Has anyone experienced this before? Is there a way to get in touch with a real person at Apple who can actually resolve this? What are our next steps? Any advice would be greatly appreciated. Thanks!
0
0
82
Apr ’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
279
Feb ’25
Appleインビテーションで招待された人の条件は?
説明ではApple Accountが無くても回答可能とあるが、招待された画面を開きメールアドレスを入力するとApple acountのパスワードを入れるか、新規にacountを作成する画面になる。 Apple Accountが無い人は何も出来ないのか?それともあのパスワード欄は新規にパスワード登録するためのもの? また、招待を送ったメールアドレスとApple acountのメールアドレスが違う場合はどうなるのだろう? 誰か試した人いますか?
0
0
177
Feb ’25
Affiliate links to external Web store
Hello all. I am currently developing a database app of particular products for people who collect this item. Let's say model airplanes. People can look at their list of model airplanes and also see a collection of airplanes by model companies. I want to offer a link from a product in my app to a local retailer's website who sells this product on their website. Not just their base site, but directly to the products page. Meaning each product in my database will have a unique link to an external product page. This could also include links to Ebay or Amazon if local retailer doesn't sell the product. Is this sort of feature allowed inside App Store Apps as technically it's not an in-app purchase? I do see some vague answers around but none that target this specific circumstance. Thankyou in advance.
0
0
42
Apr ’25
My iPhone charged to 100%
Basically, I always charge my phone at night to my limit 85%, but when I installed the iOS 18.3 beta 3, my iPhone charged to 100% at night when I was having always limit to 85%, my phone was overheated too. Did that only happened to me? Because I even checked and it’s on 85% limit.
0
1
328
Jan ’25
Trouble Displaying Heart Rate Data Graph from Apple Watch in iOS App
Issue with Heart Rate Graph from Apple Watch in iOS App Hello Community! I hope everyone is doing well. I'm developing an iOS app that includes a feature to display a graph of the heart rate recorded during a route using the Apple Watch. Current Implementation I have successfully implemented data collection and transfer from the Apple Watch to the iPhone. The app's main UI correctly displays the user's real-time BPM. When the user stops the route, an analysis view is generated, showing speed and altitude (both work perfectly). Expected Behavior The user starts recording a route while monitoring heart rate. After tapping "Stop Route," an analysis view should display a heart rate graph along with speed and altitude data. Issue Encountered Despite multiple attempts, I have not been able to properly generate the heart rate graph. The only result I have achieved so far is a flat line with points representing the recorded BPM over time, instead of a proper graph. Request for Help If anyone has experience implementing a similar feature, I would appreciate any guidance on correcting my implementation. I can share: The file responsible for graph visualization. The file handling data processing after the user stops the route. Any help or suggestions would be greatly appreciated! Summary I'm trying to display a heart rate graph from Apple Watch data in my iOS app. While data collection and transfer work fine, the graph only shows a flat line instead of a proper visualization. Speed and altitude graphs work correctly. If anyone has experience with this, I’d love some guidance!
0
0
230
Mar ’25
lowQualityThumbnail in QLThumbnailGenerator stops working from 15.2
Our code is using .lowQualityThumbnail to generate a thumbnail, it stops working when users update to 15.2 . Test it with a regular jpg file for fileURL. The only way to make it work is to change it to .thumnail or remove it. It's not deprecated, is it a MacOS bug? customers don't want to keep updating the software. Everything works in MacOS 15.1 import QuickLookThumbnailing func generateThumbnail(for fileURL: URL, size: CGSize, scale: CGFloat) { let request = QLThumbnailGenerator.Request(fileAt: fileURL, size: size, scale: scale, representationTypes: .lowQualityThumbnail) QLThumbnailGenerator.shared.generateBestRepresentation(for: request) { thumbnail, error in if let error = error { print("Error generating thumbnail: \(error)") } else if let thumbnail = thumbnail { // Use the thumbnail let image = thumbnail.uiImage // Do something with the image } } }
0
0
194
Jan ’25
Unable to view ActiveSync mail on IOS 18.2
We have been unable to use ActiveSync email in our mail app since the IOS 18.2 update. We have repeatedly recreated the account but cannot improve the situation. We have normal access to ActiveSync mail on IOS 18.1.1 and ipadOS 18.2. Is there any additional configuration required in IOS?
0
0
239
Jan ’25
i0S26 issue with CarPlay
I just upgraded to iOS 26.0 Now when I use car play, the text messages do not show up, only the notification tone on my phone alarms. So now when I get texts while driving, I need to read my phone to read the text. I tried all the solutions within settings but this is a BIG DRAWBACK compared to the old iOS.
0
0
71
Jun ’25
Payment for membership in the app
Hi!!! I can't publish the app as I have a paid membership through Stripe. I have a wordpress site and have a paid membership to access the content... The app is geared by a third party service and I can't put any code into it... What can I do? There is an idea that in the application to display a link to the site where to place the payment for membership... Please advise, I'm not the first to face this....
0
0
77
May ’25
Can a Default Messaging App Handle Legacy SMS Messages on iOS
I have been reviewing the documentation on preparing your app to be the default messaging app, and I am wondering about the following: If I set my app as the default messaging app, will it be able to send and receive legacy SMS messages? Does iOS provide any SMS-specific framework or APIs to facilitate handling SMS messages directly within my app? I’d appreciate any clarification on whether iOS supports such functionality and, if so, how to integrate it into my app. Thank you!
0
0
203
Jan ’25
Getting GTK auto complete/syntax highlighting to work on emacs on macOS
I recently wrote an article on getting gtk auto complete/syntax highlighting on macOS its a genuinely fun hobby to make portable software, and this method will ultimately help in porting software to the macOS platform a copy and paste: before I continue, I want to mention that emacs auto completion, using company-mode, is rather slow when it comes to parsing a ton files, and in some configurations, especially recursively when it comes to parsing and displaying functions and macros, even when using the semantic auto complete system, but I do believe it speeds up when you initially parse and save to ctags or when you build a semanticdb, functions such as g_signal_connect() and macros such as G_APPLICATION however, did not work with company modes auto complete, but worked with flycheck on the fly syntax checking, using this method, and I haven’t had time to perfect an emacs configuration; maybe some time next week you will need gtk installed from brew or ports, since gtk has trouble compiling from source on some Mac configurations. this method works with whatever version of gtk is reported by pkg-config –cflags (pkg-config --cflags gtk. you will also need pkg-config installed, multiple installations of gtk can be used and utilized but the emacs plugins you’ll need are (and you’ll need to connect to Melpa using list-packages https://melpa.org/#/getting-started to have these automatically downloaded and configured): company company-c-headers flycheck flycheck-pkg-config exec-path-from-shell (this allows x11emacs to read the shells configuration, may be option for terminal based emac uses) optional: function-args-mode, but when fa-show-auto is used, it breaks themes in emacs download all of them through M-x list-packages (which means pressing alt+x, macOS option+x, which should issue an input on the bottom of emacs, where the status bar is), after that, type list-packages or use auto completion, aka ctrl+tab to cycle through possible candidates open a c file (C-f ~/test.c) (which is control+x, macOS control+x) type in: M-x semantic-mode M-x semantic-customize-system-include-path in semantic-customize-system-include-path, add the path to the gtk version you intend to develop for, in my case /opt/homebrew/Cellar/gtk4/4.16.12/include/gtk-4.0 using the text based interface; you should be able to use your mouse (click ins after where it says /usr/include. semantic is included in emacs. options are automatically saved at command) M-x exec-path-from-shell-initialize M-x flycheck-mode M-x flycheck-pkg-config in flycheck-pkg-config, press enter, and then type the name of the version of gtk that provides valid input from pkg-config (ie gtk4) M-x global-company-mode if you need to bind ctrl+tab to auto complete, you can add this to your config (~/.emacs.d/init.el) (global-set-key (kbd “C-”) ‘company-semantic) this will do most of the grunt work when plugins are installed (ctrl-tab shows a window to auto complete, ctrl+` (thats the key before 1, with shift it becomes ~) shows function argument. fa-show-auto automatically shows function prototypes, but can break emacs themes: (require ‘package) (add-to-list ‘package-archives ‘(“melpa” . “https://melpa.org/packages/&#8221;) t) ;; Comment/uncomment this line to enable MELPA Stable if desired. See package-archive-priorities ;; and package-pinned-packages. Most users will not need or want to do this. ;;(add-to-list ‘package-archives ‘(“melpa-stable” . “https://stable.melpa.org/packages/&#8221;) t) (package-initialize) (global-company-mode t) (global-flycheck-mode t) (semantic-mode t) (function-args-mode) (global-company-mode t) (global-flycheck-mode t) (semantic-mode t) (function-args-mode) (global-set-key (kbd “C-”) ‘company-semantic) (global-set-key (kbd “C-`”) ‘fa-show) if you need to compile from inside emacs, I would make a Makefile according to the gtk tutorial on gtk.org I also have another article on getting Xcode to work with gtk, which is more reliable: https://unix-world.com/2025/01/25/getting-gtk4-to-work-in-xcode-with-auto-complete-and-syntax-highlighting/ website is unix-world.com and I welcome any and all traffic !
0
0
307
Feb ’25
Is It Possible to Restore Previous Browser State After openURL on iOS?
Hi Everyone, I’m currently working on a flow where a web page redirects to our app to perform certain actions, and then returns the user back to the browser. However, on iOS, the only way to go back to the browser is by using the openURL method. The issue is that this method can only open the browser app itself—it can’t control which tab or page is shown, so the user doesn’t return to the original tab they came from. The same limitation also applies to Android. Furthermore, iOS doesn’t allow an app to programmatically return to the previous app (in this case, the browser). While Android doesn’t have an official way either, in some cases, the OS automatically returns to the previous app when ours is closed. I’d like to ask: Is there any known method or workaround that allows returning from my app back to Safari (or the default browser) and restoring the previously active web page or tab? Or, is there any way to programmatically return to the previous app from within my app? Thanks in advance for your support!
0
0
116
Apr ’25
iPhone 15 Pro’s Screen Turns Black After iOS 18.3 BETA Update
After Updating My iPhone 15 Pro To IOS 18.3 beta, 1 Day Later A Pixel seemed stuck or burnt, and then after 1 Day on 25 Dec The Screen Went Black Or Turned Off But Responded To My Touch, the reason i suppose the screen went black would be a memory glitch happening when i opened the camera from the Lock Screen or a graphica card issue if anyone can help I would appreciate it
0
0
510
Dec ’24