Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
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 ...
deaddroid's user avatar
  • 430
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 ...
user26383060's user avatar
-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 ...
Duncan C's user avatar
  • 131k
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 ...
Muhammad Bilal's user avatar
-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 ...
PRATHIV's user avatar
  • 458
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 ...
HelloVictor2000's user avatar
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 ...
Matias Carulli's user avatar
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 ...
Zach042's user avatar
  • 21
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 ...
bli00's user avatar
  • 2,541
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 ...
Saladel's user avatar
  • 53
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 ...
David Katsman's user avatar
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 ...
smekers's user avatar
  • 13
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 ...
ProtonFission's user avatar
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 ...
Suh Dongbin's user avatar
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: ...
Artem Tishchenko's user avatar

15 30 50 per page
1
2 3 4 5
818