I'm building a Live Activity using ActivityKit in iOS, and I'm trying to understand how apps like Uber or Lyft manage to keep the Dynamic Island always in its expanded state, without transitioning through the compact phase.
In my implementation, the Live Activity always starts in the compact state, and only expands temporarily when I interact with it. I've tried the following:
Updating the ContentState frequently using activity.update(using:)
I tried updating the activity every 1 second, but it didn’t make a difference.
Leaving the compactLeading, compactTrailing, and minimal regions empty using EmptyView() — also didn’t change the behavior.
Delaying the initial update by 1 second — no effect.
What I'm trying to figure out:
Is there any way to programmatically force or request the Dynamic Island to stay in the expanded state?
Could this behavior be achieved through push updates, using apns-push-type: liveactivity and a high priority (apns-priority)?
What I’m trying to achieve is similar to the behavior shown in the images below — the apps do not transition to the compact island, but instead displays the expanded view immediately.
Example:
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.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Installed update on Monday night and since then keep losing Network connection despite resettting Network connections and iphone.
Comes back for a short time after rsetting then is lost with nothing showing under Mobile Service.
Topic:
Community
SubTopic:
Apple Developers
My mail app keeps crashing? Can Anyone help?
I'm using Mac OS Ventura 13.7.5 - updated yesterday and having this issue ever since:
Translated Report (Full Report Below)
Process: Mail [924]
Path: /System/Applications/Mail.app/Contents/MacOS/Mail
Identifier: com.apple.mail
Version: 16.0 (3731.700.6.1.10)
Build Info: Mail_App-3731700006001010~2
Code Type: X86-64 (Native)
Parent Process: launchd [1]
User ID: 502
Date/Time: 2025-03-31 23:17:55.8952 +0100
OS Version: macOS 13.7.5 (22H527)
Report Version: 12
Anonymous UUID: 2B9E5AC3-9B82-567C-8B10-A0555BEEE9BC
Time Awake Since Boot: 990 seconds
System Integrity Protection: enabled
Crashed Thread: 3 Dispatch queue: MCTaskHandler queue (QOS: BACKGROUND)
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: Namespace SIGNAL, Code 6 Abort trap: 6
Terminating Process: Mail [924]
Application Specific Information:
abort() called
Topic:
Community
SubTopic:
Apple Developers
Is there some public git repo hosting "https://developer.apple.com/documentation"?
Topic:
Community
SubTopic:
Apple Developers
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?
Hello! I just realized thaty I had signed up for this developer account some time ago without making any meaningful attempt to introduce myself other than attending a few of the Apple meetups at NeurIPS and ICML conferences. As a quick introduction I come from a background in open source development, most notably associated with the "Automunge" python library for dataframe encodings / missing data infill. I also have some background supporting Apple in context of volunteering as an executive officer for an IEEE Standards Association working group developing floating point arithmetic / data types for machine learning. Beyond that have been a dedicated user with frequent product feedback to various channels over the years. I am currently self employed and focussing on building an IP portfolio and investing. I am always open to share dialogue as to how to help advance the field, hope that I might get a chance to meet a few more of this communty at some point. Best regards, Nicholas Teague
Topic:
Community
SubTopic:
Apple Developers
iPhone:
iPhone 12 pro max, iOS:18.3.1
Step:
Connect CarPlay to my car, after connection success, CarPlay screen is black.
This issue only happens of first time connection;
I have asked OEM factory, they told me because of my iOS version is larger than 17.5, and above this version, will have this issue.
So, I need your help to figure problem and update in new version.
Since macOS 15.4 Beta 2, my App Store has been unable to install or download any new applications; it can only download applications I have previously purchased.
It appears as follows: when I click 'Get,' the system spins to load and then returns to the initial state.
Upon checking system error reports, it seems there's an issue with AMSUIPaymentViewService_macOS [2113]. This problem persists despite changing credit cards or even removing all credit cards.
macOS 15.4 Beta 3 has not fixed this error.
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
Topic:
Community
SubTopic:
Apple Developers
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
Topic:
Community
SubTopic:
Apple Developers
I have updated my ipad 7th gen to ipados18.3 Beta last week and I realized that there is no sound at all no sound from speakers and no sound from bluetooth devices and no sound from airplay, I've checked google and reddit and alot of research people told me its a software bug, i submitted a bug report and now im still waiting for a bug fix update, youtube dosent work neither spotify aswell their UI stops working when i try to use it, So how long do i have to wait for a bug fix? Thanks apple.
I upgraded my macOS to 13.7.5 and since then I cannot open Adobe InDesing on my iMac.
I contacted Adobe Support to assist with the issue and they couldn't find any solution from their side. Probably the update is not compatible?
Is there a way I can solve this issue? Or remove the beta version from my system?
Topic:
Community
SubTopic:
Apple Developers
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?
Topic:
Community
SubTopic:
Apple Developers
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?
Topic:
Community
SubTopic:
Apple Developers
Hey everyone, I'm using this view code to create a camera preview for my app. I wanted to create a zoom experience when you pinch. I know how ton do this for images, but not for a view like this.
Does anyone know anything that could help? Thank you.
I am trying to add a custom domain to my iCloud+ Mail however when I try to add its main user/email address I get an error saying that the email is already in use with another apple account.
After this I checked the duplicate account and since I had forgotten the password I reset it and logged in. Then I followed the instructs on https://support.apple.com/en-in/102283 to permanently delete my account. This request was initiated on 8 Feb 2025 but I received the final email that all my data had successfully been deleted from Apple's servers on 25 Feb 2025.
Despite Apple's confirmation that my account had been deleted successfully, I am still unable to use that email address to create an iCloud+ Mail account, even after waiting a whole month! This is very frustrating.
I contacted Apple support via chat and phone and after more than 30 mins of back and forth they instructed me to contact Developer Support which I did two days ago (case ID is 102546369564) still no response.
I hope posting here will be more fruitful.
Thanks in advance.
Dear Dan Newby,
Your Apple Account dan@ ----- .world has been deleted. This information has been permanently erased from our systems or has been modified so it no longer identifies you.
As a reminder, you made this request on February 8, 2025 at 7:09:59 PM GMT+5.
If you still have the 12-digit access code we provided as part of your request, you can now discard it since the account no longer exists.
We’re glad that we’ve been able to help and hope to see you again in the future.
Apple Support
Topic:
Community
SubTopic:
Apple Developers
Hey guys, I've been searching high and low for some clarity when it comes to this topic.
Essentially, what is the legality/risk of using apple music previews in my app. Does Apple license the previews meaning they are fair to use as long as I link to that URL? Do i need to license every song individually?
I can not find anything concrete out and while the apple team let my app (that currently plays preview urls) on the app store I know that doesn't necessarily legally cover me.
Any input is appreciated, i know this is a pretty niche area.
Topic:
Community
SubTopic:
Apple Developers
Hi,
We have recently encountered a problem running our App on iPads with A9, A10 chipset. Since recently we have migrated our Network module to swift 6 our app has stoped working on these devices.
Anyone else has noticed that too or if someone know why that is happening only for iPads with specific hardware?
hi team
To continue testing Xcode 26 beta for our POS project's compatibility with the upcoming iOS 26 release in September, we’ve been running trials on various simulators. While the app works fine on iOS 18 simulators (iPad Pro/Air), it fails to launch on iOS 26-based iPad simulators with the following error:
"libswiftWebKit.dylib library is not loaded"...... SquareReaderSDK
Reason: tried: '/Users/username/Library/Developer/Xcode/DerivedData/ProjectnamePOS-buqsthxxbyqalydvfpxruhzgmymf/Build/Products/Debug-iphonesimulator/libswiftWebKit.dylib
(Detailed logs are shared below.)
Is there a known fix for this issue, or is a resolution expected in an upcoming beta release?
dyld[34660]: Library not loaded: /usr/lib/swift/libswiftWebKit.dylib
Referenced from: <BA066DAA-6AD6-3622-9A40-08C1600B0DC6> /Users/username/Library/Developer/CoreSimulator/Devices/3F807800-D684-4398-89DC-1AEC1747A99A/data/Containers/Bundle/Application/5327A260-4241-48F6-85C2-A7E0E0F152E3/Projectname.app/Frameworks/SquareReaderSDK.framework/SquareReaderSDK
Reason: tried: '/Users/username/Library/Developer/Xcode/DerivedData/ProjectnamePOS-buqsthxxbyqalydvfpxruhzgmymf/Build/Products/Debug-iphonesimulator/libswiftWebKit.dylib' (no such file), '/Library/Developer/CoreSimulator/Volumes/iOS_23A5260l/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 26.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/introspection/libswiftWebKit.dylib' (no such file), '/Library/Developer/CoreSimulator/Volumes/iOS_23A5260l/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 26.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/libswiftWebKit.dylib' (no such file), '/usr/lib/swift/libswiftWebKit.dylib' (no such file, not in dyld cache), '/Library/Developer/CoreSimulator/Volumes/iOS_23A5260l/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 26.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libswiftWebKit.dylib' (no such file)
Library not loaded: /usr/lib/swift/libswiftWebKit.dylib
Referenced from: <BA066DAA-6AD6-3622-9A40-08C1600B0DC6> /Users/username/Library/Developer/CoreSimulator/Devices/3F807800-D684-4398-89DC-1AEC1747A99A/data/Containers/Bundle/Application/5327A260-4241-48F6-85C2-A7E0E0F152E3/Projectname.app/Frameworks/SquareReaderSDK.framework/SquareReaderSDK
Reason: tried: '/Users/username/Library/Developer/Xcode/DerivedData/ProjectnamePOS-buqsthxxbyqalydvfpxruhzgmymf/Build/Products/Debug-iphonesimulator/libswiftWebKit.dylib' (no such file), '/Library/Developer/CoreSimulator/Volumes/iOS_23A5260l/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 26.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/introspection/libswiftWebKit.dylib' (no such file), '/Library/Developer/CoreSimulator/Volumes/iOS_23A5260l/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 26.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/libswiftWebKit.dylib' (no such file), '/usr/lib/swift/libswiftWebKit.dylib' (no such
dyld config: DYLD_SHARED_CACHE_DIR=/Library/Developer/CoreSimulator/Caches/dyld/24F74/com.apple.CoreSimulator.SimRuntime.iOS-26-0.23A5260l/ DYLD_ROOT_PATH=/Library/Developer/CoreSimulator/Volumes/iOS_23A5260l/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 26.0.simruntime/Contents/Resources/RuntimeRoot DYLD_LIBRARY_PATH=/Users/username/Library/Developer/Xcode/DerivedData/ProjectnamePOS-buqsthxxbyqalydvfpxruhzgmymf/Build/Products/Debug-iphonesimulator:/Library/Developer/CoreSimulator/Volumes/iOS_23A5260l/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 26.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Library/Developer/CoreSimulator/Volumes/iOS_23A5260l/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 26.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libLogRedirect.dylib:/Library/Developer/CoreSimulator/Volumes/iOS_23A5260l/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 26.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libBacktraceRecording.dylib:/Library/Developer/CoreSimulator/Volumes/iOS_23A5260l/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 26.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libMainThreadChecker.dylib:/usr/lib/libRPAC.dylib:/Library/Developer/CoreSimulator/Volumes/iOS_23A5260l/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 26.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libViewDebuggerSupport.dylib DYLD_FRAMEWORK_PATH=/Users/username/Library/Developer/Xcode/DerivedData/ProjectnamePOS-buqsthxxbyqalydvfpxruhzgmymf/Build/Products/Debug-iphonesimulator DYLD_FALLBACK_FRAMEWORK_PATH=/Library/Developer/CoreSimulator/Volumes/iOS_23A5260l/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 26.0.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks DYLD_FALLBACK_LIBRARY_PATH=/Library/Developer/CoreSimulator/Volumes/iOS_23A5260l/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 26.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib```
Topic:
Community
SubTopic:
Apple Developers
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("捐赠代码执行完成")
}
}
}
Topic:
Community
SubTopic:
Apple Developers