All Questions
12,265
questions
0
votes
0
answers
5
views
Autofill suggestions not showing up for QR-based verification code
I am trying to integrate autofill for a verification code in one of my iOS projects. I have added an apple-app-site-association file to my domain. It was integrated successfully, as now the iOS ...
0
votes
0
answers
20
views
An iOS application crashed or was closed, how do know which screen was last viewed by the user?
An iOS application crashed or was closed by the user or closed because the device has no battery, how I retrieve the information for which screen was last viewed by the user?
I want to save this ...
-1
votes
0
answers
15
views
How should SwiftUI accessibiltyActions be announced in VoiceOver?
I'm trying to add accessibilityActions to specific views in an app I'm working on for a client.
I'm using the accessibilityAction(named:) viewModifier. I can't share the client code, but it's ...
0
votes
0
answers
10
views
Keyboard Extension Input Field Not Working
I've been working on a custom keyboard extension and encountering an issue where I can't input text into the Custom TextField. Even when the TextField is selected (indicator is on), the input still ...
-2
votes
0
answers
23
views
SwiftUI modifier and view parameter [closed]
Is they any simple way to find a current Modifiers for a view . Working on multiple framework often is not easy to remember every Modifiers for a view
In flutter all view modifier will be as parameter ...
1
vote
1
answer
20
views
SwiftUI Xcode project - Can I change the struct name in the automatically generated file whose name is the app's name?
Suppose I create a new Xcode project of SwiftUI with app name "ExampleApp", then Xcode automatically generates a file ExampleAppApp.swift that contains the following code:
@main
struct ...
0
votes
0
answers
18
views
Changing the background color of .searchable search bar is not setting it to normal black color
I have a search bar set up using the .searchable modifier on a SwiftUI View, and I would like to set the background color of the bar text field to be Color.black.
I've attempted to change the ...
0
votes
0
answers
18
views
iOS 17 MapKit .standard doesn't allow for a globe view when zoomed out
I'm working on setting up a very basic mapview with MapKit for my iPhone on iOS 17. I noticed that the Apple maps app doesn't have this issue but I really couldn't find much about this topic other ...
0
votes
1
answer
21
views
Easing functions for using CADisplayLink
I need to manually animate something frame by frame in SwiftUI using CADisplayLink, which provides me frame to frame updates. For animating a value from a to b in a linear fashion, the implementation ...
0
votes
1
answer
59
views
Managing ViewModels
This is more of an architectural question.
I am working on a personal project using the Rick and Morty API, following this design, building with Swift and SwiftUI using the MVVM pattern.
I have ...
0
votes
0
answers
11
views
App freezes when completing StoreKit purchase and using .fullScreenCover modifier in SwiftUI
My SwiftUI app freezes when completing a purchase in StoreKit if I have .fullScreenCover modifier applied anywhere in the View hierarchy.
It doesn't matter where I put the .fullScreenCover modifier in ...
0
votes
0
answers
35
views
App crashing when task switches to another app and goes to background when a task is ongoing
I have a view that is set to disappear after 5 seconds and it's working okay normally aside from this scenario:
user does the action that makes the view show
user immediately switch to another app ...
0
votes
0
answers
13
views
how to round corners of path line SwiftUI [duplicate]
when using the CGRect path how can I round the corners, is it possible to round out the bend so the change of the angel is not sharp?
struct Line: Shape {
var angleHeight: CGFloat = 10
var ...
0
votes
1
answer
51
views
change in viewIndex should rerender the view but it does not [duplicate]
what am I missing? This change in viewIndex should trigger rerender of view but it does not.
ViewIndex will change the index of user to use for profileView and it will trigger rerendering.
import ...
0
votes
0
answers
52
views
Crash on the TextView in the ForEach wrapped to the ScrollView and programmatically set FocusState
I have a crash in my apps(6 different apps) on the TextField.
I have a code for adding players with TextField in the ForEach and wrapped to ScrollView
My code:
@StateObject var viewState: ...