All Questions
2,343
questions
1
vote
0
answers
21
views
SF Symbol replace animation size is off
I want to achieve this animation where the wifi symbol is slashed:
It's partly working, but the wifi bars are scaling and moving
I'm using this code:
Image(systemName: showSlash ? "wifi.slash&...
0
votes
0
answers
24
views
The rotation animation runs in several cells. How to fix it?
Good afternoon everyone. I can’t understand why, when you click a button, the animation runs in another cell?
For example, I click on cell 1, the animation starts on cell 4.
Cells are redrawn after ...
0
votes
1
answer
25
views
SwiftUI NavigationSplitView - Nested List Not Animating
I've encountered a SwiftUI NavigationSplitView bug in my app that I'd appreciate help with, I've spent quite some time trying to work out a solution to this problem. I have a main list, which has ...
1
vote
1
answer
51
views
Animate Map Annotation Swift UI
I am trying to animate map annotations when they appear with an interactive spring. But currently no animation takes place. The actual annotation label does not accept any view modifiers like ....
0
votes
0
answers
41
views
Alternate between three different animations over timer cycles using SwiftUI?
I want to run three different animations, A , B ,C, A, B, C alternating like that, over different time periods, like 30s(A), 10s(B), 10s(C), 40s(A), 10s(B), 10s (C), 50s(A), 10s(B), 10s(C) etc
for ...
0
votes
0
answers
37
views
SwiftUI list animation changing the way it animates when I replace dummy data with real data?
I have an animation I made for a game totals list that saves the previous result and on the next time the view opens floats the users result view to the new position from the old ranking position. I ...
0
votes
0
answers
45
views
(SwiftUI) withAnimation doesn't work the first time
i'm making a comments screen, where the user can see the comments of a post as well as their replies. when i click "View x more replies", i'd like for the replies to expand with an animation....
1
vote
1
answer
104
views
Animated Gradient Background in Swift UI
I'm trying to create an animated "flag" style gradient on top of my User Profile View -kind of similar to what Stripe has here: https://stripe.com/gb
The code I have below toggles the ...
0
votes
1
answer
31
views
Swift Animation does not work when reentering screen
I have built a view with an animation and everything seemed to work fine, but then I found out that it only works for the first time and not for the second. As I am a newbie in Swift programming I don'...
-1
votes
1
answer
87
views
Why do explicit animations work better than implicit animations here? (100 Days of Swift UI: Guess the flag)
I'm working on a project challenge. I've previously made a flag quiz game where there are three buttons made by a ForEach loop with images as flags. The challenge is to animate the flags so that the ...
1
vote
1
answer
55
views
Issues with checkmark animation
I am using following code to display success with circle and checkmark
struct CheckMarkView: View {
@State var borderInit: Bool = false
@State var spinArrow: Bool = false
@State var ...
0
votes
0
answers
150
views
Keyboard Animation Issue in Swift UI with iOS 15: Animating from the Right Instead of Bottom
I'm developing an app using Swift UI on iOS 15 and encountering a peculiar issue with keyboard presentation. When transitioning to a new screen, I programmatically set focus to a TextField with a ...
1
vote
1
answer
274
views
Custom fullScreenCover animation
Is it possible to add a custom animation to a fullScreenCover? The default animation has been disabled but I am struggling in finding a way to add a custom animation.
I guess that transaction....
1
vote
0
answers
47
views
Slicing Animation in RealityKit/VisionOS
I have a model loaded in my view (a simple cube) and I want to slice it based on the user's drag gesture (ie. axis of slice animation should be co-axial to the drag gesture). It should slice the model,...
0
votes
0
answers
61
views
How do I animate values of a Shape with multiple different animation transactions simultaneously?
I'm trying to animate a sine wave made out of a Shape struct. To do this, I need to animate the phase of the wave as a continuous looping animation - and then animate the frequency and strength of the ...