197 questions
0 votes
1 answer
103 views
How to synchronize multiple marquee animations and resetting them when text changed?
I am trying to create a SwiftUI Marquee component that: Can take 2 string items If any of the two string items are longer then the width of its parent then animate them right to left If they are ...
0 votes
0 answers
28 views
React Native smooth image transition
(Example video) In React-Native, how can I have smooth transition between images like this? I tried using Moti animation. But it feels like I am only fading in and out the images MotiView key={`...
0 votes
0 answers
43 views
App hang on react native ios with relation to animations
Description We see many un-reproducible app hangs on ios with following stack trace: The UI where we see this is a use of modal + text-input + keyboard interaction: QuartzCore 0x198365c8c -...
1 vote
1 answer
274 views
Disable animations of SwiftUI ProgressView with CircularProgressViewStyle
For snapshot testing purposes I need to disable the animation of a SwiftUI ProgressView with CircularProgressViewStyle... ProgressView() .progressViewStyle(...
1 vote
0 answers
316 views
Swift animation stopped working in iOS 18
Swift animation stopped working in iOS 18. The animation should move an image and change opacity at the same time. On iOS 18 the image doesn't appear and likely goes straight to opacity 0.0. Any ...
2 votes
1 answer
88 views
Decrease Expense of an Animation
I really enjoy the look of this animation running in the background of my app, but it is incredibly expensive as it stands. Is there a way to make this animation lighter on people's cpu's while ...
1 vote
3 answers
435 views
SwiftUI animate rectangle fill from bottom to up
I have a Rectangle() SwiftUI view. I am trying to animate the fill inside it based on a numeric value. For example the height of the rectangle would be totalHeight * ratio. Here is the code: struct ...
1 vote
1 answer
1k views
Trying to get SF Symbols to animate (bounce once when pressed on specified tab) in a TabView using SwiftUI
I am trying to get my SF Symbols to animate when I click the tabs at the bottom of the screen. I have it set up where if the user is signed in, it will show the TabView of "Home" and "...
0 votes
0 answers
50 views
Sheet dismiss animation not working when adds to modelContext
I have a sheet to add a new item to the modelContext, but upon dismissal the sheet doesn't slide out smoothly but just disappears. Running on iPhone XS, but Simulator for iPhone 15 displays same ...
0 votes
0 answers
146 views
How to override animation logic in SwiftUI
I'm confused about how animations work in SwiftUI. Functionally, I know wrapping a change inside withAnimation block will cause the change to be animated but exactly how that's achieved underneath is ...
0 votes
1 answer
118 views
View transitions are glitchy without using deprecated .animation()
I'm trying to comply to the now deprecated .animation(.easInOut), but every time I make adjustments to .animation(_:value:) it breaks the transition. This code functions how I want with one view ...
4 votes
1 answer
304 views
Creating Animated Energy Flow Lines in React Native Expo
I'm currently developing a React Native application using Expo, and I'm facing a challenge with implementing animated energy flow lines on one of my screens. The goal is to animate lines on an image ...
1 vote
0 answers
176 views
Freeze animation when keyboard appears SwiftUI
We have Rectangle and TextField on screen. When view appears we animate Rectangle offset. When tap on TextField and keyboard appears at this moment the animation starts little freeze. How to prevent ...
2 votes
1 answer
688 views
Animate UIBarButtonItem with iOS 17 pulse symbol effect not working (without UIImageView)
I'm trying to get the new symbol animation from iOS 17 working for a UIBarButtonItem. The WWDC 2023 video linked to below, "Animate symbols in your app," promises the following: First of ...
2 votes
1 answer
831 views
Achieve Complex Animation in iOS HomeScreen Widget
I am asking about how to achieve repetitive and smooth animation that looks like Lottie or gif in IOS widgets. I have attached the image as example. I'm aware that people say this cannot be done, but ...