Questions tagged [uianimation]

411 questions
1
vote
1 answer

How can i know when default functions animations finish?

In my application, i listed delivered notifications as sorted by date in tableView. If user tap to notifications from device notification screen, app highlights row. But before user presses notification on device main screen, if users scroll towards…
Vileriu
  • 25
  • 4
1
vote
1 answer

UI Animation using animateKeyframes does nothing to Button Title Color

I'm trying to animate the color of my UIButton Title Color using animateKeyframes but it does nothing except load the last state in the animation, in this case purpleText. I'm using the same code to animate button colors and a UIView background…
Brewski
  • 654
  • 3
  • 14
  • 29
1
vote
0 answers

How can i remove the trailing red animation at the end of swipe deleting using .onDelete swiftUI

This is the code : struct ContentView: View { @State var names = ["A" , "B", "C", "D"] var body: some View { List { ForEach(names, id: \.self ) { name in Group { testStruct(name: name) …
1
vote
1 answer

Load a XIB with custom Transition?

Is it possible (at all) to load a XIB with custom AnimationTransition? What I have done, is creating an animation that "Covers" the screen, and what I want is that after that animation has done playing, I would like it to display the new XIB. I cant…
andy
  • 17
  • 4
1
vote
0 answers

Weird behavior with UIView / Shadow while transition the constraint (Pictures inside)

I have something like a SlideUp View with a TableView inside. I am changing the constraint of my SlideUp View to increase the width. However, this is the result on sliding it up or down: The result on slide down: The result on slide up: When the…
ProjektWeinheim
  • 201
  • 3
  • 10
1
vote
1 answer

Animation a UIButton while animating a View

I am facing a problem in animation. So right now in my app, I have a subview which has a close button. When the close button is pressed, a curl down animation occurs showing the previous view. That is working properly. I perform the curl down…
learner2010
  • 4,157
  • 5
  • 43
  • 68
1
vote
2 answers

How to update constraints animation in uitableviewcell

I want to expand view height with animation in UITableView cell. It's working but animation not working as i want. My code is something like. func tableView(_ tableView: UITableView, willDisplay cell: UITableViewCell, forRowAt indexPath: IndexPath)…
1
vote
0 answers

How can we delay a interface orientation change in iPad

currently when i change the orientation of my app,all the entities on the screen are rendering one by one.This is looking a bit bad and i feel that this gives a bad user experience. Is there any way in which i can delay my orientation changes or…
A for Alpha
  • 2,904
  • 8
  • 42
  • 76
1
vote
2 answers

How to give UILabel a blinking effect in Collection View

- (__kindof UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath{ OfferCell *cell = (OfferCell *)[collectionView dequeueReusableCellWithReuseIdentifier:@"cell"…
Mukie
  • 129
  • 1
  • 2
  • 9
1
vote
0 answers

How to disable autolayout animations for a single view in iOS, Swift?

I need to disable animations for a specific view that gets animated because of its autolayout properties. I cannot use this: UIView.setAnimationsEnabled = false Because it breaks the animations of other views. This didn't work either: override…
Lio
  • 4,225
  • 4
  • 33
  • 40
1
vote
1 answer

UICollectionView isUserInteractionEnabled blocks cell interaction

I have a UICollectionView, which has its cells, as normally. Each cell has itself a UICollectionViewController within. When I tap a cell, I expand it to fit the window screen, but I've encountered some problems here: If I scroll within the expanded…
1
vote
2 answers

How to replicate the drop/bounce animation effect as seen in iOS Notification Center window?

How would one replicate the bounce effect of the iOS Notification Center window that drops to the bottom of the screen and bounces without ever traveling below the height of the window? This appears to use damping and spring velocity but how do you…
lurning too koad
  • 2,698
  • 1
  • 17
  • 47
1
vote
1 answer

Fade in/out Image in UIIamgeView happens with no duration

I have a UIIamge I created programmatically in viewDidLoad of a DetailViewController. I would like to .transitionCrossDissolve between its current image to another image. My problem is that once the DetailViewCOntroller is displayed the switch…
Jevon718
  • 354
  • 4
  • 10
1
vote
1 answer

Change view to a circle on swipe gesture, iOS, Swift

I am trying to reduce a view to a circle on swipe gesture (in any direction, fast or slow), similar to the experience on WhatsApp videoCall view. See images below, to get an idea of what I am trying to achieve. I believe I need to use swipe gesture…
SpaceX
  • 2,814
  • 2
  • 42
  • 68
1
vote
0 answers

How to avoid two buttons bumping into each other inside a view in iOS?

I am developing a simple game where i need bubbles moving through out the screen as shown in the below Pic. In the Image shown above Bubbles 7 and 10, 4 and 9 are bumping into each other. I need the Bubbles to move through out the screen without…
Pradeep Reddy Kypa
  • 3,992
  • 7
  • 57
  • 75