|Apr 14, 2011, 03:05 PM||#1|
zooming animation problem in ScrollView - Ipad
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,
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];
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...
|animation, ipad, uiscrollview, uisplitview|
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Scrolling textview + scrollview problem||solinari6||iPhone/iPad Programming||4||Mar 27, 2014 02:17 PM|
|iPad Mini: Problem with iPad rMini when zooming||MTXR||iPad||5||Nov 23, 2013 07:04 PM|
|[New release] Animation Deskô for iPad||KdanTeam||iPad Apps||2||Dec 27, 2012 09:33 PM|
|Problem with iMovie zooming on on clips that are placed in a project||defurry||Mac Applications and Mac App Store||1||Sep 27, 2012 11:01 PM|
All times are GMT -5. The time now is 11:32 AM.