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
352
questions
0
votes
0
answers
20
views
Piechart angle selection on tapping a sector instead of touch and hold gesture using SwiftUI Chart framework
I have created piechart using swiftUI Chart framework. Also made the chart interactive by using chartAngleSelection modifier. But, this will work only when we touch and hold the sector of Pie chart. ...
-5
votes
0
answers
18
views
Iphone home screen - Lock second menu on long press [closed]
I’ve set up a shortcut on the home screen for my 90-year-old mother on her Iphone 11 (ios 17) so that she can call me directly. Problem: if she presses for too long, a second menu appears and if I ...
-5
votes
0
answers
124
views
'onChange(of:perform:) was deprecated in iOS 17.0: Use onChange with a two or zero parameter action closure instead? [closed]
struct SudokuCellView: View {
@Binding var value: Int?
var onCommit: (Int?) -> Void
var body: some View {
TextField("", value: $value, formatter: NumberFormatter())
...
0
votes
0
answers
25
views
File size on iOS: does the usual technique `... .fileSize` give the bytes of the content, or, the "rounded" size in re drive formatting?
In iOS to grab the size of a file,
file.resourceValues(forKeys: [.fileSizeKey]).fileSize
(Example, size of a whole directory )
In short how does the chunk size of affect this result? Is the result ...
0
votes
0
answers
32
views
WKWebView OAuth popup misses window.opener in iOS 17.5+
In my project, I'm using the WKWebView to display the Google OAuth popup. After it appears, the JS window.opener is null, and because of that, the original window cannot receive an auth token in a ...
1
vote
0
answers
24
views
Is it possible to actually eliminate the small padding-border areas on Dynamic Island? Essentially change the BG color of Dynamic Island?
The actual black curved border (at "A") is great.
But if you try to use color fill up to that border, there is padding at the edges and indeed between the four areas - pointers "B" ...
0
votes
1
answer
94
views
How to get and display country name as 2 letters rather than full country name
I am trying to implement the Country Codes in my app for Phone Auth Login. This is a SwiftUI app using iOS 17 and below is the code i am using to implement this but it is printing out the full ...
0
votes
0
answers
42
views
unarchiveObject(with:) deprecated, is there a replacement when you are unwinding NOT a class but a vanilla [String: Any?]
req = ["a":nil, "b":3, "c":["d":3.3, "e":"e", "f":[]], "g":[]]
Traditionally ("if js can do it we can do it too!&...
0
votes
1
answer
41
views
Observable Toggle Communication Failure
I have an app that will play a confirmation tone if a toggle switch is set. Because the tone may be played for different actions throughout the app, I store the toggle status in the SoundManager class....
1
vote
1
answer
76
views
How to fix map annotation selection issues in iOS 17?
I'm working on MapKit for SwiftUI using iOS 17, where I have a custom annotation. When an annotation is selected, a DetailsView should be shown, but it does not work as expected.
Selecting an ...
0
votes
1
answer
58
views
Core Bluetooth cancelPeripheralConnection not disconnecting peripheral in iOS 17
In iOS 17, I'm encountering an issue where cancelPeripheralConnection from Core Bluetooth does not disconnect the peripheral device, and no error is returned. This is specifically occurring on iOS 17, ...
-1
votes
0
answers
41
views
XCode15.3 throwing an error when trying to install iOS 17.4 simulator
`When trying to download the IOS 17.4 xcode simulator i keep getting error. Xcode randomly updated to 15.3 and all my downloaded simulators are gone. before this issue, i have installed 17.2 ...
0
votes
2
answers
89
views
in iOS17 UIKit is there a way to change/affect the border color of an iOS17 UITextField (other than the mangle shown here)?
This is about iOS 17 only. The only way I could hack around and achieve something like this was
find the actual, real, border, get its real values
sadly just add a fake on top of that layer once ...
0
votes
0
answers
51
views
Xcode 15+ iOS 17+ error: Failed to install the app on the device
Not able to debug Apps from XCode 15+ on iOS 17+ devices.
Tried disconnecting the VPN
Tried updating path name from /Developer to /Developers
Still nothing working on debugging iOS Device not ...
1
vote
0
answers
43
views
Wrong SceneKit hit testing results in iOS 17.2 compared with iOS 16.1 when using either OpenGLES2 or Metal
We’re experiencing an issue with wrong SceneKit hit testing results in iOS 17.2 compared with iOS 16.1 when using the two mentioned engines. Not sure is anyone has experienced the same issue and is ...
0
votes
0
answers
28
views
How to make login page of oAuth inspectable with iOS 17 as it is opening in app browser window for our app using angular
I want to inspect/debug in Safari when I am at the login page of oauth that is opening in the app browser window.
I am not able to find a way to debug the login page of oAuth with an ios 17.5 app.
...
0
votes
0
answers
44
views
Crashed: com.apple.network.connection EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000d25b5b890
i have strange crash on OS version: iPadOS 17.1.0 ,i can't reproduce.
Crashed: com.apple.network.connection-208
0 libobjc.A.dylib 0x3150 objc_retain_x23 + 16
1 Network ...
0
votes
0
answers
37
views
Audio mute after changing speed by AUGraph
I use AUGraph to change music speed and get music by rendercallback
_mixNode = [self addNode:kAudioUnitType_Mixer subType:kAudioUnitSubType_MultiChannelMixer];
_effectNode = [self addNode:...
-4
votes
1
answer
46
views
Returning Drive Names? [closed]
I want to write code for an iOS17 Project that will be able to show me what Devices or Drives the App can physically see, like:
iCloud
Macintosh HD
USB
I am able to find a FileManager but I think ...
1
vote
1
answer
50
views
Adjust padding on wrapped lines in TextField (Swift)
I am using a multiline text field that wraps the text vertically to new lines. Is there a way to adjust the padding for the wrapped lines, not including the first line? I am trying to have subsequent ...
1
vote
0
answers
58
views
React Native Zeroconf issue with resolving IP address on iOS 17+
I'm facing this issue where the MDNS cannot resolve the IP address when finding the service on a network, this is happening with iOS devices 17+, while with iOS 15 it works ok. I don't have iOS 16 to ...
0
votes
1
answer
142
views
How to Add a New Marker by Tapping on a Map in SwiftUI iOS 17?
I am trying to achieve a similar functionality to Google Maps.
When my user clicks on an existing marker, a sheet pops up showing them a page with the details of the marker.
However, if they click on ...
0
votes
1
answer
162
views
How to decouple Swift Data from a SwiftUI view in order to make the view available as a Swift Package?
I am working with Swift Data (iOS 17 or higher only) and SwiftUI on iOS.
This question is probably only worth reading (or deciding whether to vote to close!!!) if you are highly active with this ...
1
vote
0
answers
30
views
AVRoutePickerView() Bug
On my end showing same option "iPhone" and "iPhone". While this should be "iPhone" and "Speaker". Reply please, if found solution for this. This comes only when ...
0
votes
1
answer
38
views
In SwiftUI how to refer to a "subclass -like" View struct as a variable, in View setup code?
I have a number of cute premade structs,
///Cute green flag icon
struct YahIcon: View {
var body: some View {
Image(systemName: "flag.checkered")
.symbolRenderingMode(...
-1
votes
1
answer
47
views
How to move ZStack from bottom when View is presented SwiftUI iOS 17.4?
I'm trying to show ZStack with animation from bottom when View is presented on screen.
Code below doesn't work.
I'm new and I don't know what is wrong with this?
Where the withAnimation should be, and ...
0
votes
0
answers
80
views
overflow: hidden in body not working on mobile safari ios 17?
I'm having some issues with my website. To explain briefly, I have a feature to edit posts where I allow users to rearrange the order of images within the post by dragging and dropping. To prevent ...
0
votes
0
answers
25
views
How to intercept the click on picture in UITextView in iOS 17?
There is a picture in a UITextView, I want to intercept the user's click event, but I found that the function textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange, ...
0
votes
1
answer
147
views
Create gradient with tint color in SwiftUI
When styling a view in SwiftUI, I can use .foregroundStyle to apply a custom shape style, e.g.
view.foregroundStyle(.green)
Besides colors, I can use some more "advanced" shape styles. For ...
0
votes
0
answers
53
views
Why SwiftUI Map Annotation is not updating its title immediately with the selected place name?
The issue I'm encountering with the 'identifiableMapItem.mapItem.name' displaying “Unknown Location” initially and then updating only after another annotation is added.
It seems to be related to the ...