Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 07-19-2011, 10:40 AM   #1 (permalink)
learner2011
 
Join Date: Mar 2011
Posts: 115
ashwinr87 is on a distinguished road
Default problem after adding a subview on a UITableView

In my ipad app, I have a split screen view. In the detail view of the split screen view, I have 6 UITableview subviews.

On a button click, I am animating a UITableView subview and bringing another view ( say, View A) on top of the UITableView. This is the code I use to bring in View A,

Code:
if (viewA == nil) 
    {
        viewA = [[viewAController alloc] initWithNibName:@"ViewViewController" bundle:nil];
        self.view.userInteractionEnabled = NO;
        [self.view addSubview:viewA.view];

        [UIView transitionWithView:self.view duration:1
                           options:UIViewAnimationOptionTransitionFlipFromRight
                        animations:^ {
                        }
                        completion:^(BOOL finished){

                        }];

    }
so the problem I am facing here is that, since the view behind View A is a UITableView, if I scroll down on the UITableView and then click on the button, the View A also goes up with the UITableView.

How can I solve this problem? What is the other way I can bring in the View A?

It would be great if someone could help me with this.
ashwinr87 is offline   Reply With Quote
Reply

Bookmarks

Tags
animation, ios, ipad, subview, uitableview

Thread Tools
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
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 412
16 members and 396 guests
7twenty7, blasterbr, buggen, Clouds, dre, EvilElf, HemiMG, jeroenkeij, jimmyon122, jonathandeknudt, LEARN2MAKE, Mah6447, n00b, nyoe, pungs, UMAD
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,668
Threads: 94,121
Posts: 402,901
Top Poster: BrianSlick (7,990)
Welcome to our newest member, jonathandeknudt
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 03:56 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0