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

How to use donated users in your application and display Siri recommended users in Safari's system sharing
The following is my code, which runs successfully and is recommended to succeed, but it still does not show Siri's suggestion to users in the system sharing in Safari import AppIntents import Contacts import CoreSpotlight import Intents import UIKit class TestViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() self.view.backgroundColor = UIColor.white DispatchQueue.global().async { self.donateMessageInteraction(recipientName: "张三", phoneNumber: "+8613812345678") } } func donateMessageInteraction(recipientName: String, phoneNumber: String) { INPreferences.requestSiriAuthorization { status in guard status == .authorized else { return } // 1. 创建接收者 let recipientHandle = INPersonHandle(value: phoneNumber, type: .phoneNumber) let recipient = INPerson( personHandle: recipientHandle, nameComponents: nil, displayName: recipientName, image: nil, contactIdentifier: nil, customIdentifier: "com.yourapp.recipient.\(phoneNumber)" ) // 2. 创建发送者(你的应用身份) let senderHandle = INPersonHandle(value: "15210639372@163.com", type: .emailAddress) let sender = INPerson( personHandle: senderHandle, nameComponents: nil, displayName: "我的应用", image: nil, contactIdentifier: nil, customIdentifier: "com.yourapp.sender" ) // 3. 创建消息意图 let intent = INSendMessageIntent( recipients: [recipient], outgoingMessageType: .outgoingMessageText, content: "最近怎么样?", // 常用消息内容 speakableGroupName: nil, // 群组名称(一对一设为nil) conversationIdentifier: "com.yourapp.conversation.\(phoneNumber)", // 唯一会话ID serviceName: "My Chat Service", // 你的消息服务名称 sender: sender, // 发送者身份 attachments: nil ) // 4. 配置意图参数 intent.setImage(INImage(named: "user0"), forParameterNamed: \.sender) // 5. 创建并捐赠交互 let interaction = INInteraction(intent: intent, response: nil) interaction.direction = .outgoing interaction.donate { error in error.map { print("捐赠失败: \($0)") } } print("捐赠代码执行完成") } } }
0
0
365
Feb ’25
Consideration of long-term Bluetooth behavior
It works if Bluetooth is on for a long time, is there any problem? I'm developing an app using beacon and Bluetooth, and I have to operate the app in the background, and after spending the weekend, I have to detect the beacon and revive the app. I can see that there is an app in the background, but the app is not coming back to life. How can I solve this problem? Or is the OS team working on something to block it? The test model is Iphone16Plus.
0
0
38
Apr ’25
Watch series 6 beta 11.4 issue
I updated my Apple Watch Series 6 before Apple withdrew beta 11.4 as an option. I see on forums that I am not alone with this issue. Many series 6 watches are now stuck in a boot loop. I hope Apple can resolve the issue for those of us that pushed the update to our watches before the issue was identified. Support were unable to assist.
0
0
307
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
How to request several models simultaneously
I am using HelloPhotogrammetry in Xcode I can make one model with something like HelloPhotogrammetry.main([path_to_folder_of images, path_to_output/model.usdz, "-d", "medium", "-o", "unordered", "-f", "high" ]) But how would I request several models simultaneously? I only want to vary the detail. [ ("/Users/you/Desktop/model_medium.usdz", detail: .medium), ("/Users/you/Desktop/model_full.usdz", detail: .full), ("/Users/you/Desktop/model_raw.usdz", detail: .raw ]
0
0
73
Apr ’25
Printing error
Back in December 2024 I noticed when I go through the steps to print I would get an error to cancel or retry. We have 4 iPhones and 3 had the newest IOS and those 3 would get the same error. The phone that had old ios 17 something the print would work. Called Apple and did troubleshooting, the opened something on apples end for the developer to investigate. Within 2 weeks a new ios was available and fixed the issue on the 3 phones that could not print. I did the latest update February and March 2025 on all 4 phones thinking no way the issue will happen again and if did all 4 phone cannot print. Is there an iOS bug that is affecting printing ios 18.3.2.
0
0
71
Mar ’25
No Apps appearing on home screen or in the App Library after download
Hello, i just noticed that when i download an app through the App Store on my iPhone, the app i downloaded does not appear on my home screen or in the App Library. is there any work around for me to make them appear at least in the App Library? the only way to open or to place an app on my home screen I downloaded after upgrading to iOS 18.4 Beta 3 is to search for it in Spotlight or in the App Store. Any apps I downloaded before upgrading to iOS 18.4 Beta 3 is still on my home screen or in the App Library. i am currently running iOS 18.4 Beta 3 on an iPhone 16 Pro
0
0
285
Mar ’25
After connecting to a Passpoint network on macOS, the SSID field is displayed as empty.
After connecting to a Passpoint network on macOS, the SSID field is displayed as empty. Bugs ? Passpoint connections are established and function correctly, with network communication unimpeded. However, a display issue where the SSID field is blank is present on macOS versions 13 through 15 inclusive. This issue persists even when utilizing connection profiles created with Apple Configurator. Help me. Thks
0
0
193
Mar ’25
Window server problem
Hi, I needed some help in understanding the crash logs which is as below. Any help is very much appreciated. Translated Report (Full Report Below) Process: WindowServer [440] Path: /System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/Resources/WindowServer Identifier: WindowServer Version: 600.00 (???) Code Type: ARM-64 (Native) Parent Process: launchd [1] User ID: 88 Date/Time: 2025-03-13 12:58:55.0091 +0800 OS Version: macOS 15.3.1 (24D70) Report Version: 12 Anonymous UUID: C795BDC3-66F0-6CF9-7533-B788D0B2DD80 Sleep/Wake UUID: 6F927AA6-3C7B-4EE9-AB68-B77F0D1D622A Time Awake Since Boot: 4400 seconds Time Since Wake: 996 seconds System Integrity Protection: enabled C
0
0
237
Mar ’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
561
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
117
Mar ’25
Unknown unauthorized mdm
m personal iPhone is managed by an Unauthorized and Unknown mdm management team, The profile isn’t showing up in VPN Settings and I can’t remove them from having Remote access and control over my Personal Device! I’ve SPENT MANY MONTHS TRYING TO GET SUPPORT VIA EMAILING APPLE DEVELOPER AND SPEAKING TO APPLE SUPPORT WHICH HAS BEEN EXTREMELY EXHAUSTING AND HUMILIATIN! I’ve resorted to contacting Internet crime websit, the federal trade commissio, Better business bureau and Consumer Affairs to file an online complaint against Apple for not complying with their Security and Privacy policy for consumers accounts! Because of this unauthorized and unknown mdm devi management profile I don’t have COMPLETE CONTROL OVER MY OWN IPHONE! !
0
0
171
Jun ’25
iPad Pro M4. Panic. Freezing and Restarting Daily Without Heavy Usage
I purchased an iPad Pro M4 in early December, and since day one, I’ve been experiencing a recurring issue. Almost every day, at random times, the device freezes for 1–5 minutes and then restarts itself. The tablet is not under heavy load when this happens — I mainly use it for light tasks such as watching videos in a player or Safari browser, web surfing, and reading books. The issue has even occurred while the iPad was idle and locked; it froze, displayed the Apple logo, and rebooted. I brought the device back to the store where I purchased it, and they sent it for a diagnostic check. However, the experts concluded that the device is fully functional, and no defects were found. After one of these crashes, I noticed that my Apple Pencil started lagging (see video file IMG_5688.MOV). However, after another reboot, the issue with the Apple Pencil resolved itself. I’ve documented the issue with several video recordings showing the freezing and rebooting behavior, as well as error logs generated after such incidents. Device Details: Model: iPad Pro M4 Usage: Light tasks only (video streaming, web browsing, reading) Environment: No overheating, no resource-heavy applications running What could be causing this issue, and how can I resolve it? Any help would be greatly appreciated. Thank you! P.S. I’ve uploaded all the device logs and videos demonstrating the issue to Google Drive. https://drive.google.com/drive/folders/1_R0i_iazADWo5EgStrPdgmf1XjgPP_RC?usp=sharing
0
0
463
Jan ’25
Card views and List views
My main app is CardView based w/programmatic navigation.. My secondary app is a nice EventListView w/programmatic navigation. Both are functional with no errors. I want to add an event list to my CardView app but the appearance is all wrong. See image. The blue swirl at bottom is all of my List that appears. I can post images of code, if needed. My question is this - can I combine CardViews and ListViews?
0
0
149
Feb ’25