Questions tagged [ios17]
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.
ios17
28
questions
54
votes
8
answers
69k
views
How to run on iOS 17 Device using Xcode 14
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
10
votes
3
answers
2k
views
How to fix UINavigationController extension which breaks SwiftUI Navigation in iOS 17
I have been using the following extension throughout iOS 15 and iOS 16 seemingly with no issues. For context, I implemented this in my project to offer the ability to retain the swipe-back gesture for ...
4
votes
1
answer
627
views
@Bindable usage with protocols
Prior to iOS 17, I was used to creating SwiftUI views with a generic approach where a view is constrainted to one view model, and that ViewModel can be a protocol. This was very nice for testing and ...
-1
votes
1
answer
876
views
SwiftUI TabView adding strange blank space underneath view?
I am using a tab view to change screens in my app. I am also using a custom tab bar that I created to navigate with.
The problem I have is the tab view seems like it's creating a random blank space ...
12
votes
6
answers
4k
views
PWA app crashes on Safari after IOS 17 update
My Angular app was working normally as a PWA on iphone, but after last ios17 update, the app crushes and even if I clear the cash on Safari it might work again for couple of minutes then the pwa ...
1
vote
1
answer
197
views
Modify Swift UI view without using iOS 17 modifier
I have some code below that creates a custom navigation stack that enables full screen swipes to navigation away from the view. I want to support iOS 17 with this custom Navigation stack but some of ...
0
votes
1
answer
129
views
Applying Natural ShapeStyle for system and asset image in SwiftUI
I was wondering whether applying the natural ShapeStyle would be feasible. However, utilizing the .clear color Style is not an option due to the default rendering mode in the system image being set to ...
31
votes
2
answers
14k
views
Widget on iOS 17 Beta device - Adopt containerBackground API
I'm working on an app + widget with Xcode 15 Beta. The widget works as expected on iOS 17 Beta simulators, but when running on my device with iOS 17 beta, it displays "Please adopt ...
16
votes
2
answers
11k
views
type argument ‘nw_proxy_config_t‘ is neither an Objective-C object nor a block type
Cannot build on latest Xcode 15 Stable, iOS 17 stable
Related to
https://github.com/pichillilorenzo/flutter_inappwebview/issues/1735
flutter run
Could not build the precompiled application for the ...
16
votes
1
answer
2k
views
Actor isolate @Observable type
Back in WWDC 2021’s Discover concurrency in SwiftUI, they recommend that you isolate the ObservableObject object to the main actor. E.g.:
struct ContentView: View {
@StateObject var viewModel = ...
13
votes
5
answers
4k
views
How to add AppIntent to app target and use it in an interactive widget
How do you create an AppIntent that will run in your app's process and use it in your widget's Button? I created a new file, added it to my app's target, created my AppIntent struct, then added a ...
10
votes
2
answers
2k
views
Placing the toolbar above keyboard does not work in iOS 17
The next code snippet is an example of the question.
import SwiftUI
struct TestingView: View {
@State var myText = ""
@State var myText2 = ""
var body: some View {
...
6
votes
1
answer
713
views
Developer access to Application Support Directory on iOS 17
How can I access the contents of the application support directory of my own apps on IOS 17 devices?
Until iOS 16 the answer in Xcode was to open the Devices and Simulators window in Xcode, select the ...
5
votes
1
answer
2k
views
ios17 safari AudioContext (Web Audio API) problem
Since I upgraded to ios17 my AudioContext is not working on Safari.
I have a simple element that I connect a gain node through AudioContext. The audio loads the .mp3 file (remaining time is updated ...
4
votes
3
answers
532
views
How to fetch User first and last name?
I attempted to retrieve the first name and last name of the current user from CloudKit. However, I received a message from Xcode indicating that the 'userDiscoverability' feature will be deprecated in ...