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
3
votes
1
answer
318
views
iOS 17. Video, shows a black screen when opening in full screen mode with a poster
Browser: Safari/Chrome
Operating system: Ios 17
At startup, full screen mode opens. There is sound, but no video.
<video ref="video"
:src="videoSrc"
:poster="poster&...
0
votes
2
answers
73
views
Confusion with correct way to call Observable?
I am seeing that there may be two ways to call a Class from other Views or Models.
The following is what I have created:
import Foundation
import Observation
@Observable
class User {
var ...
0
votes
0
answers
309
views
App crashes of type EXC_BREAKPOINT (SIGTRAP) SIGNAL 5 Trace/BPT trap on iOS17
I'm encountering crashes of type EXC_BREAKPOINT (SIGTRAP) Termination Reason: SIGNAL 5 Trace/BPT trap: 5 on iOS 17.
In the iOS app I'm developing, I've noticed that since upgrading to iOS 17 (Xcode 15....
0
votes
1
answer
31
views
Form Disabling Color in the Top Unsafe Area
I have been attempting to add some color to the top of the screen near the notch. I seem to have run into a problem with the color not displaying when used with a Form.
I tried using List and VStack--...
0
votes
1
answer
2k
views
Xcode unable to build to iPhone: Unable to locate a develop disk Image. IOS 17, Xcode 15
I am using Xcode 15 and iPhone IOS version is 17.4. I am getting this error in Xcode while trying to build my application on iPhone:
I am aware of the answers provided in old questions already there ...
1
vote
1
answer
329
views
Xcode 15: App is crashing when setting custom Navigation bar for navigation controller
I have made a custom class for UINavigationBar which has all the custom features I need for an application.
After initialising the class I am adding it to the navigation controller like this
if (!...
0
votes
2
answers
274
views
SwiftUI Widget Previews have a padding in iOS 17 / Xcode 15
After iOS 17 / Xcode 15 the previews for my widgets are inset and squeezed into the view.
I added a .contentMarginsDisabled() modifier to the intent, which fixes this in the actual widgets on a ...
1
vote
0
answers
307
views
scrollTo conflict with scrollTargetBehavior?
I try to replicate the snapchat camera filters scroll in SwiftUI.
When I scroll manually it's working well thanks to new iOS 17 scroll API, it's centering on each circles. But on tap it's not working, ...
0
votes
0
answers
46
views
how to get the bouding box dimension when using the object capture api in iOS17 after detecting the object
I want to get the bounding box when this api detect the object from ObjectCaptureView, but I do not find the api from api document, do not know how to make it.
this is the api
https://developer.apple....
0
votes
0
answers
60
views
Simulate in XCUITest app state restoration since iOS 17
After migrating to iOS 17.4 I no longer able to change my application state to .runningBackgroundSuspended. So far I've been using XCUIApplication(waitForState:timeout:) and tapping on home button to ...
0
votes
1
answer
94
views
react native webview right to left language components shown with mirror writing ios 17
I have an application in react native that includes a web-view, the content of the web view is in Hebrew (a right-to-left language), on iOS 17 I get a strange result,
And all the lists were shown as ...
1
vote
0
answers
129
views
How to save a file in Files iOS system app in iOS 17 Swift
Since iOS 17, I can't find a way to save a file (.pdf, .mp3, .m4a, etc.) in the "Files" iOS system app in Swift. I am using Xcode 15.2.
In iOS 15 and iOS 16, here is my code and it works on ...
0
votes
1
answer
96
views
Reporting In-App Purchase Refund Request Errors
Below is Apple's stock Request Refund Logic from the Food Truck Building a SwiftUI Multiplatform App that I am trying to modify to catch refund request errors. Apple's doesn't seem to think that it is ...
1
vote
0
answers
126
views
iOS17 widget button intent refresh UI when request callback
iOS17 for Interactive Widgets, when I click the widget button, then set the button to loading status, and reset the button status to normal after 1s later.
func perform() async throws -> some ...
0
votes
1
answer
127
views
Where to place floating buttons to move up/down based on presented sheet dynamic height?
I'm new to SwiftUI. I want to place a floating button on Map, but this needs to move based on bottom presenting sheet. Bottom present sheet height will be dynamic and it will minimise and maximise ...