Questions tagged [uiviewanimationtransition]

Specifies a transition to apply to a `UIView` in an animation block.

407 questions
2
votes
1 answer

How to check if UIImage from assets is fully loaded

In a viewcontroller I have two image views on top of each other and two buttons labelled previous and next. I have an array of UIImages let images = [UIImage(named: "1"), UIImage(named: "2"), UIImage(named: "3")] I have this helper method to…
Renz Tan
  • 245
  • 3
  • 10
2
votes
3 answers

UIView removeFromSuperview

The removeFromSuperview method actually pulls off the image very quickly, is there a way to remove it in a animated fashion. thanks
thndrkiss
  • 4,515
  • 8
  • 57
  • 96
2
votes
0 answers

Rotation support in custom transitions - Constraints or update frame on rotation?

I am creating a 'semi-modal' transition that displays content from the bottom of the screen but does not fill the whole screen. The height of the modal is dependent on the preferred content size of the toViewController (if the preferred size is…
bencallis
  • 3,478
  • 4
  • 32
  • 58
2
votes
3 answers

UIView split transition

There is a good chance that I am just using the wrong terminology for this, but I have been looking to see if there is an iOS UIView transition that splits a view (BLUE) and any subview controls to reveal another view (RED) and its controls. I have…
fuzzygoat
  • 26,573
  • 48
  • 165
  • 294
2
votes
1 answer

adding a custom transition to presentViewController in swift

i have a viewController which has a TableView and a cell with a accessoryType of detailbutton. When pressing that accessoryType i present a semi transparent View with text. I want this view to appear in a specific way so i created a custom view…
2
votes
1 answer

transitionWithView Not Performing Flip Animation

I'm using the following code to attempt to flip a UIView. It's a playing card. There's a container view, with two children, front and back. I've read in similar questions here that this should be the correct way to do it, but the actual flip itself…
Luke
  • 9,512
  • 15
  • 82
  • 146
2
votes
2 answers

UIButton state transition animation not working for setEnabled or setHighlighted

Update The animation is working for setEnabled=NO. The animation for setEnabled=YES is being triggered when UIScrollView is scrolling, the UIButton is inside the scrollview and the animation for setEnabled=NO is being triggered when UIScrollView is…
Kishor Kundan
  • 3,135
  • 1
  • 23
  • 30
2
votes
1 answer

UINavigationController custom modal transition, navigation bar too small

I am using a custom transition to display modally a UIViewController which is inside a UINavigationController. I am using a zooming transition which starts with a smaller frame and ends with the UINavigationController full screen. …
stefano_cdn
  • 1,362
  • 2
  • 15
  • 29
2
votes
1 answer

Seeing a flicker mid-transition?

I just tried my making a custom transition between view controllers. It basically spins the next one into view, and it works. Except that the source view controller flickers briefly back into visibility right as the animation completes, just as the…
temporary_user_name
  • 35,956
  • 47
  • 141
  • 220
2
votes
1 answer

animationControllerForOperation not called after app goes to background

I have a viewcontroller with a custom navigation push transition using UINavigationControllerDelegate. Everything works perfectly when you start the animation, press the back button, etc. However, if you push the viewcontroller onto the stack,…
2
votes
1 answer

Why is my UIViewController being loaded twice? iOS7

I am presenting my custom UIViewController (called "temp") with a custom animation. The UIVC gets called with: [temp setModalPresentationStyle:UIModalPresentationCustom]; temp.transitioningDelegate = self; [temp.view setHidden:YES]; [self…
2
votes
1 answer

Custom Zoom Transition not working for a modal presentation

I am trying to create a Zoom Transition. I had it working totally fine when it was for a "push". Now I need to to work for a modal transition, and of course it can't just be a 2 min fix. The transition is from one NavigationController to another. I…
2
votes
2 answers

Expanding circle animated transition between view controllers

I have created a custom animated transitioning using a transition delegate: vc.modalTransitionStyle = UIModalPresentationCustom; vc.transitioningDelegate = self.transitioningDelegate; The transitioning delegate is working perfectly, but I am trying…
Yarneo
  • 2,922
  • 22
  • 30
2
votes
2 answers

Transition view on the same ViewContoller

I am trying to flip transition on the same ViewController, I have a button for trigger transition. I want to change theme color when i press to button via flip transition. i used this code part: - (IBAction)changeThemeButtonTapped:(id)sender { int…
Kirdok
  • 1,904
  • 2
  • 22
  • 27
2
votes
2 answers

how make view transition like iPad appstore on iOS 7

I want to make a view transition, like iPad AppStore on iOS 7, click a item(app) and popping a detail view with flip vertical, and tapping outside of detail view will dismiss, this view transition is neither like popover and modal transition. So,…
Donne Liu
  • 63
  • 3