I'm trying to disable Writing Tools for a specific TextField using .writingToolsBehavior(.disabled), but when running the app on my iPhone 16 Pro with Apple Intelligence enabled, I can still use Writing Tools on the text box. I also see no difference with .writingToolsBehavior(.limited).
Is there something I'm doing wrong or is this a bug?
Sample code below:
import SwiftUI
struct ContentView: View {
@State var text = ""
var body: some View {
VStack {
TextField("Enter Text", text: $text)
.writingToolsBehavior(.disabled)
}
.padding()
}
}
#Preview {
ContentView()
}
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Ever since updating both my iPhone and iPad to iOS 18.1 beta 7, they simply won't connect to Xcode 16.1 beta 3.
When connecting via cable, Xcode gets stuck on preparing for 5 to 10 mins and then outputs the below error:
The developer disk image could not be mounted on this device.
Domain: com.apple.dt.CoreDeviceError
Code: 12040
Failure Reason: The caller does not have permission to perform the specified operation.
User Info: {
DDIPath = "/Library/Developer/DeveloperDiskImages/iOS_DDI.dmg";
DVTErrorCreationDateKey = "2024-10-15 9:06:17\U202fpm +0000";
DeviceIdentifier = "63EC7037-121B-4E79-9553-952A09720DAC";
NSURL = "file:///Library/Developer/DeveloperDiskImages/iOS_DDI.dmg";
Options = {
MountedBundlePath = "file:///private/var/tmp/CoreDevice_DDI_Staging_501/63EC7037-121B-4E79-9553-952A09720DAC/";
UseCredentials = 0;
};
"com.apple.dt.DVTCoreDevice.operationName" = enablePersonalizedDDI;
}
--
The caller does not have permission to perform the specified operation.
Domain: com.apple.dt.CoreDeviceError
Code: 2
--
Error mounting image: 0xe8000109 (kAMDMobileImageMounterNetworkForbiddenError: A network error occurred (forbidden).)
Domain: com.apple.mobiledevice
Code: -402652919
User Info: {
FunctionName = AMDeviceRemoteMountPersonalizedBundle;
LineNumber = 2145;
}
--
AMAuthInstallRequestSendSync failed: 3503 (kAMAuthInstallErrorHTTPForbidden)
Domain: com.apple.mobiledevice
Code: -402652919
User Info: {
FunctionName = "-[PersonalizedImage mountImage:]";
LineNumber = 2042;
}
--
System Information
macOS Version 15.0.1 (Build 24A348)
Xcode 16.1 (23502) (Build 16B5029d)
Timestamp: 2024-10-15T22:06:17+01:00
Any solution for this issue?
I have a Safari extension which allows the user to load their own homepage upon opening a new tab. The extension works by retrieving the homepage URL from UserDefaults and then redirecting to it using window.location.replace. In iOS 18, if the homepage is unable to be loaded due to, for example the user having no internet connection, Safari will go into an rapid loading loop, which eventually stops after a while. This is unlike iOS 17, where trying to reproduce the same scenario will end up with a Safari error page, which should be the expected behaviour.
In short, instead of Safari going into an infinite loading loop, it should display a Safari error page like iOS 17 does.
As this issue is only happening on iOS 18, I am almost certain it's an iOS bug and would appreciate if this can be fixed as soon as possible.
I have created a Feedback Assistant report with ID FB15853821, which contains a sysdiagnose file from my iPhone 16 Pro, as well as two videos, one from my iPhone 16 Pro with iOS 18.2 beta 3 and the other video showing a comparison between iOS 18 and 17. Both videos first show the extension functioning correctly with an active internet connection, but when I disable my internet, the iOS 18 Safari goes into an infinite loop.
Here are the steps to reproduce the issue:
Download the Homepage for Safari app from the App Store: https://apps.apple.com/gb/app/homepage-for-safari/id6481118559
Enter any valid homepage URL, such as https://apple.com and tap Save
Go to Settings -> Apps -> Safari -> Extensions -> Homepage and enable the extension
Make sure Open New Tabs is set to “Homepage”
Turn off both WiFi and cellular data and attempt to open a new tab in Safari
Please note that this also happens with iOS 18.2 beta 4.
I've been trying to upload my app to the App Store with Xcode 16.3 RC but I keep getting these error messages. When will Apple start allowing Xcode 16.3 submissions?
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags:
App Store Connect
Xcode
Organizer Window
I have been experimenting with the BGContinuedProcessingTask API recently (and published sample code for it https://github.com/infinitepower18/BGContinuedProcessingTaskDemo)
I have noticed that if I lock the phone, the code that runs as part of the task stops executing. My sample code simply updates the progress each second until it gets to 100, so it should be completed in 1 minute 40 seconds. However, after locking the phone and checking the lock screen a few seconds later the progress indicator was in the same position as before I locked it.
If I leave the phone locked for several minutes and check the lock screen the live activity says "Task failed".
I haven't seen anything in the documentation regarding execution of tasks while the phone is locked. So I'm a bit confused if I encountered an iOS bug here?
I am using the iPhone 17 Pro simulator that was included with Xcode 26.0.1. My Mac is running macOS 26. When I started the simulator for the first time I got the "Ready for Apple Intelligence" notification but when I access Image Playground in my app it says it is not available on this iPhone. Any solution to get it working on the simulator?
In iOS Background Execution limits, I see this:
When the user ‘force quits’ an app by swiping up in the multitasking UI, iOS interprets that to mean that the user doesn’t want the app running at all. iOS also sets a flag that prevents the app from being launched in the background. That flag gets cleared when the user next launches the app manually.
However, I see that when I close an app on iPadOS 26 with the red X, the app doesn't appear in the multitasking UI. So are they treated as force closes and prevented from running background tasks?
I have ported my app to visionOS but have not been able to get alternate app icons working using UIApplication.shared.setAlternateIconName. I remember many months ago when I ran the iPad app directly, changing the app icon worked but I never managed to get it to work for native visionOS apps. Is this not supported for apps compiled natively for visionOS?
This is a follow up to my previous post, this time using the visionOS 1.2 simulator and Xcode 15.4.
I am trying to set the background colour of my app shortcut platter for the visionOS version using NSAppIconComplementingColorNames but it doesn’t take effect when I check the shortcuts app. I see the built in Music Recognition app has a background colour but I am unable to set one for my app. Please note that this feature is working correctly on iOS. But on visionOS it has no effect and returns a plain background.
I noticed the documentation doesn't mention it works on visionOS. But if that's the case how was the music recognition app able to set a colour?
Before I launched my app, I ran a TestFlight beta program and also included a one time purchase in the TestFlight build to test the functionality.
Now that the app is available in the App Store, I had closed the TestFlight program, but am looking to reopen it again to test iOS 18 specific features. The issue is, the beta testers that previously purchased the IAP on TestFlight but didn't actually purchase the IAP on the App Store version would be able to use the paid features of the app for free as long as they have the TestFlight build. Therefore I would like to revoke all the purchases made via the TestFlight build.
Is there any way to do that?
Topic:
App Store Distribution & Marketing
SubTopic:
TestFlight
Tags:
StoreKit
In-App Purchase
TestFlight
In iOS 18, internal extension pages cannot navigate to external webpages, either via href links or through JS methods such as window.location.replace. Nothing happens when you try to navigate to an external webpage. Only other internal pages can be navigated to. This wasn't an issue on previous versions of iOS.
It would be appreciated if this can be fixed as soon as possible.
Feedback ID: FB14194963
I am seeing blank data after 4am when viewing the last 24 hours graph. I remember a while ago it showed me data past 4am but now the graph is suddenly showing no data after 4am.
Are there any issues with the data shown on sales and trends at the moment?
On macOS 15.4 beta 2 (24E5222f), the back button is not visible when navigating from a view with no toolbar to a view with a toolbar button. The back button is visible on macOS 15.3.1 and earlier versions.
Also, the toolbar button shown when run on macOS 15.4 beta 2 is truncated.
This is how it looks on macOS 15.4 beta 2:
And this is how it looks on macOS 15.3.1 and earlier:
Feedback ID: FB16743834
On macOS 26 I can see the dividers when I open my Help menu:
However, on iPadOS 26 the dividers don't appear:
I am simply using Divider() to separate my menu bar items in my CommandGroup.
iPadOS does support dividers as I can see them for the system generated Edit menu but for some reason it's not working here.
Does anyone know if I am doing something wrong with the iPadOS implementation?
The simulator should support the new Siri Ul and Apple Intelligence features, at least they should work if Apple Intelligence is enabled on the Mac itself.
Feedback ID: FB15699827