Questions tagged [uianimation]

411 questions
0
votes
2 answers

x position not changing while animating UIView in motion?

I have following lines of code in which while moving view with animation I checked out x position of moving element by printing log.It is showing same x position every time while moving view. -(void)removeObject { for (UIView *subview in [self…
Prince Kumar Sharma
  • 12,591
  • 4
  • 59
  • 90
0
votes
1 answer

Custom UIAction Sheets in iOS

I have a situation where on a click of a button, I want to animate a tableView from bottom, I tried using CustomActionSheet sample , but I felt it very complicated .Please tell me the possible ways in which we can do it.
Ranjit
  • 4,576
  • 11
  • 62
  • 121
0
votes
3 answers

navigate to flipview

i used below code for infolight button (Thanks to https://stackoverflow.com/users/630145/ankit-bhardwaj) // This will create ur info button in center. UIButton *infoButton = [UIButton buttonWithType:UIButtonTypeInfoLight]; UIBarButtonItem…
user1895515
0
votes
1 answer

How to switch UIViews with animation within single iOS screen

I want to build a fairly simple app with just 1 screen. As a result, I would like two views within the same view controller. View1 - appear for 5 seconds View2 - appear during gameplay View1 - appear for 5 seconds View2 - appear during gameplay And…
Nirav Bhatt
  • 6,940
  • 5
  • 45
  • 89
0
votes
1 answer

Adding UIAnimation

I have a ScrollView with paging and I have a button which takes me to an array with image in my scrollView .. Here's my codes -(IBAction)scrollToPage:(id)sender { int scrollToPage = 1; int scrollToX = 1-1; [self.scrollView…
Abdelrahman Eid
  • 881
  • 2
  • 13
  • 28
0
votes
1 answer

UIView animation inside UIGestureRecognizer

I have an animation that runs for several seconds in response to a tap gesture. While the animation is running, the UITapGestureRecognizer won't respond to additional taps. Once the animation completes, the recognizer works again. I've tried…
mjtitus
  • 165
  • 6
0
votes
1 answer

UIScrollView architecture

I'm trying to create something similar to the Guardian's Eyewitness app for iPad. I'm mainly just concerned with the scrollview on the navigation homescreen and how the scaling and carousel effect could be achieved? If someone knows how this could…
Brian Halpin
  • 169
  • 1
  • 14
0
votes
2 answers

Cannot make a smooth animation in UIView

I have add a view animation to my view on button click, the view will slide to right side on first click and will come back on second click..(just like in Facebook iPhone app) But the animation is not so smooth, there are some jerkings and all. But…
Nithin M Keloth
  • 1,595
  • 1
  • 20
  • 37
0
votes
1 answer

why button cannot move in animation?

I want to click _transitButton to call onTransitButtonDidClick to move _rightView. The problem is the button cannot do as I set self.transitButton.frame = CGRectMake(0, 0, 30, 20);. update: _transitButton original frame is (0,280,30,20) the result…
CCC
  • 2,164
  • 8
  • 27
  • 47
0
votes
2 answers

UIVIEW transform from top to bottom

I want to create UIView animation direction from top to bottom, but after I tried for two days it i'm surrrender here's my code - (IBAction)goAction:(id)sender { primaryView.userInteractionEnabled = NO; [UIView animateWithDuration:0.3…
Netra
  • 73
  • 5
  • 13
0
votes
1 answer

Putting hard bounds on an animating view in iOS

I've been exploring iOS animations and I'm trying to find out if there is a simple way to restrict animation movement to within a certain area. For example, lets say you are using a pan gesture recognizer to drag a UIView around the screen. Is there…
Sean Danzeiser
  • 9,141
  • 12
  • 52
  • 90
0
votes
1 answer

Two Page Curl Effect in iPad

I am using the Leaves project to move from one pdf page to another it is working fine. Now the page curl is from left to right and from right to left like a note book. Now the effect was to turn a single page but i want to turn the two pages .one…
0
votes
1 answer

Implementing half screen animation

I am planning to implement something similar to Facebook with a triple horizontal bar button on the left side tap on which slides the view more than half way right to show another view underneath it to select between various options like "Friends",…
Abhinav
  • 37,684
  • 43
  • 191
  • 309
0
votes
0 answers

Best practice to implement a custom splash screen with storyboard

I have been designing a custom splash screen using the following approach: I have one splash creen controller that's been defined as a rootview controller in storyboard. The splash screen controller is taking care of making a screenshot of itself…
tiguero
  • 11,477
  • 5
  • 43
  • 61
0
votes
3 answers

how to show the view contents to be filp from right in iPhone app

I have iPhone application. I want that when view is loaded it has subView. Also I want that subView to be loaded like flipping or sliding from left to right in animation. subView contains UIButton and TextView. I want that subView should load in…
user1567956
  • 131
  • 2
  • 6
  • 13