Use for questions specific to Apple's iOS 17 mobile operating system for iPhone and iPad, released in 2023. General iOS questions should use the [ios] tag.
Questions tagged [ios17]
67 questions
0
votes
0 answers
iOS 17 customizes the keyboard, Set -inputview and -inputAccessoryview at the same time, inputView cannot be displayed
iOS 17 customizes the keyboard, Set -inputview and -inputAccessoryview at the same time, inputView cannot be displayed, Below is the code for custom input view。
class CustomerInputView: UIView {
// custom -inputView
private var _inputView:…
0
votes
0 answers
Reuse a SwiftUI View with .containerBackground(for: .widget) in main App
I'm working on getting my Widgets ready for iOS 17 and have moved the widget background to the new .containerBackground(for: .widget) API.
However I am also reusing my widget Views in my main App, but the container background doesn't render there. I…

milan.elsen
- 13
- 6
0
votes
0 answers
TipKit: How to use Tips with Objective C and UIKit
TipKit was just released in Xcode 15 beta 5 but unfortunately the app I am working on has a majority Objective C and UIKit codebase. Apple has only provided code snippets with Swift and SwiftUI (so far that I have seen). Does anyone know how to…

Braeden Meikle
- 1
- 1
0
votes
2 answers
TipKit: How can I integrate a Tip with SwiftUI or UIKit?
Now that TipKit has been released by Apple and should be working on Xcode 15 beta 5, I don't know how to integrate a Tip with a view?
I have the following code:
import SwiftUI
struct TipKitTestView: View {
var body: some View {
VStack…

Braeden Meikle
- 1
- 1
0
votes
0 answers
iOS 17 Beta crash: -[NSCountableTextLocation compare:] receiving unmatching type (null)
Unable to find the cause... but the stacktrace is this!
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSCountableTextLocation compare:] receiving unmatching type (null)'
*** First throw call stack:
(
0 …

Kevv Keka
- 183
- 11
0
votes
1 answer
Display AppEntity results depending on the selection of a Parameter in AppIntent
I'm transitioning from SiriKit Intents to AppIntents for the upcoming iOS 17 and would like to restore the same logic as in the current IntentHandler.
Based on the selection of the first parameter on the AppIntent, the app creates a list of options…

optz
- 391
- 1
- 10
0
votes
1 answer
MapCircle not updating on center or radius change
Related to MapCircle not updating on center or radius change.
Using Xcode 15.0 beta 4
I have MapCoordinate struct:
private struct MapCoordinate: Equatable {
let location: Location
let latitude: Double
let longitude: Double
…

ItayAmza
- 819
- 9
- 21
0
votes
1 answer
Use palette rendering style in SF symbol usage of tabItem
I'm trying to make my SF symbol display a two-tone color style (Palette) in SwiftUI tabItem - is this natively supported in SwiftUI or do I need to import UIKit?
.tabItem {
Label("Library", systemImage: "book.circle")
…

Kyler Phillips
- 41
- 10
0
votes
0 answers
iOS 17 widget missing images
Hi I trying out our widget on iOS 17 but unfortunately the icon images in the widget are not showing and in XCode it's displaying these errors:
-[INIntent _initWithIdentifier:backingStore:schema:error:] Missing backing store for Intent: (N/A -…

TT_TT
- 91
- 3
- 16
0
votes
2 answers
TipKit not working on Xcode 15.4 beta for iOS 17
I am trying to experiment with Apple's new feature called TipKit and create sample Tips for my app prior to iOS 17 release this fall. However, I am unable to compile the program.
I downloaded Xcode 15.4 beta and I tried creating a struct using the…

Braeden Meikle
- 1
- 1
0
votes
0 answers
SwiftUI LabelStyle, testing if configuration.icon exists?
In my App, I place a button with a gear symbol in the upper left corner; it is used to bring up a settings sheet.
Button { withAnimation { showSettingsSheet.toggle() }} label: {
Label("Settings", systemImage: "gearshape")
…

Steven Marcotte
- 25
- 1
- 4
0
votes
0 answers
How to use `@Observable` Macro within an Extension
I tend to add my view models within extensions of my views for namespacing-purposes, for example:
struct MyView: View {
...
}
extension MyView {
final class MyViewModel: ObservableObject {
...
}
}
However, restructuring MyViewModel to…

Nicolas Gimelli
- 695
- 7
- 19
0
votes
1 answer
TipKit not accessible in even on Xcode 15 beta 2
link - https://developer.apple.com/videos/play/wwdc2023/10229/?time=0
I came across an interesting video from Apple's WWDC 2023 conference,
titled "Discovering New Features with TipKit."
It seems like TipKit is a new framework that enables…

Abdul Karim
- 4,359
- 1
- 40
- 55
0
votes
1 answer
Cannot call value of non-function type 'Bundle' using Xcode 15 beta-1
I am trying to build my project using Xcode 15 for iOS 17.
So far I have solved many errors, but I am stuck with this one.
From my understanding GeneratedAssetSymbols is an auto-generated file created by Xcode to list the resources within your…

Steven
- 1,088
- 1
- 8
- 16
-1
votes
0 answers
How to run on iOS 17 Device using Xcode 14.2
Xcode 15 beta does not come with Device support files for iOS 17. Any other way we would run iOS 17 devices on Xcode 14?
I expect to be able to deploy and debug iOS 17 apps on Xcode 14.
My app isn't migrated to the latest Xcode version so it's using…

Ivan Ugrin
- 1
- 2