Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old Apr 14, 2011, 03:05 PM   #1
ashwinr87
macrumors member
 
Join Date: Mar 2011
zooming animation problem in ScrollView - Ipad

Hi,

In my app, I have a split screen in which the detail view is a scrollview. I have 5 tables which are subviews of my scrollview in which 3 table views are side by side on top and 2 table views are side by side on bottom

I have already implemented a way in which when I click any of the rows of any of the table in the scrollview, that view disappears and another view zooms into its position.

I write the following code in the didSelectRowAtIndexPath in the middle table subview,

Code:
CGFloat xpos = self.view.frame.origin.x;
    CGFloat ypos = self.view.frame.origin.y;
    self.view.frame = CGRectMake(xpos+100,ypos+150,5,5);
    [UIView beginAnimations:@"Zoom" context:NULL];
    [UIView setAnimationDuration:2];
    self.view.frame = CGRectMake(xpos,ypos,220,310);
    [UIView commitAnimations];
    [self.view addSubview:popContents.view];
popContents is the view I need to zoom into to the view previously occupied by that particular table view and that happens correctly.

However the problem that I am facing is that since there is another table subview in the side, if I increase the frame size to say 250 or so, the part of the zoomed in view gets hidden by the tableview on the side ( as its as if a part of the zoomed in view goes under the tableview on the side).

Is there anyway to correct this so that my zoomed in view would not get hidden by the tableviews on its sides?

I hope I have explained my problem correctly...
ashwinr87 is offline   0 Reply With Quote

 
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Tags
animation, ipad, uiscrollview, uisplitview

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Animation Desk for iPhone - Anyone can be an animator. Any idea matters. (New Video) swopes iPhone and iPod touch Apps 4 Jul 24, 2011 09:59 AM
problems in implementing Gesture Recognizers for iPad app newlearner iPhone/iPad Programming 7 May 18, 2011 07:18 AM
UIPanGestureRecognizer problem in Ipad ashwinr87 iPhone/iPad Programming 1 Apr 28, 2011 10:23 AM
zoom animation using animation with block based methods ashwinr87 iPhone/iPad Programming 4 Apr 20, 2011 09:24 AM
Masterfoods puts animal product in chocolate - Mars, Snickers, Maltesers etc miniConvert Community Discussion 82 May 21, 2007 02:47 PM


All times are GMT -5. The time now is 09:25 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC