Welcome to iPadForums.net Guest - Click Here to Register

Make a Detail view for a UITableView

This is a discussion on Make a Detail view for a UITableView within the iPad Development forums, part of the iPad App Store category; Hi guys, I been looking for days into google to try to make this without luck. I have a UITableView and I when the user ...

Register with iPad Forums
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    iPad Noob!
    Member #
    33298
    Join Date
    Feb 2011
    Location
    Uruguay
    Posts
    1

    Make a Detail view for a UITableView

    Hi guys,

    I been looking for days into google to try to make this without luck.
    I have a UITableView and I when the user tap over one cell I want to show the details in a new view. Seems very basic function but is making me crazy.

    Any of you have an example of how to make this?

    thanks!

  2. Ads


  3. #2
    iPad Noob!
    Member #
    40131
    Join Date
    Mar 2011
    Posts
    4
    but what kind of a view? standard popover with arrow? modal view? custom view?

    anyway you have a method tableView:didSelectRowAtIndexPath: where you can present your view...

  4. #3
    iPad Fan!
    Member #
    40888
    Join Date
    Mar 2011
    Location
    Baltimore, MD
    Posts
    11
    Try searching "how to make a simple iphone app part 1/3" in google :]

  5. #4
    iPad Noob!
    Member #
    53142
    Join Date
    May 2011
    Posts
    4
    Hi,

    you have to implement the following method of the table view

    Code:
    -(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
    in there you just build the Viewcontoller you want and push it to your navigationController. Something like this:

    Code:
    YourViewControllerClass *viewController = [[YourViewControllerClass alloc]initWithNibName:@"YourViewControllerXib" bundle:nil];
            [self.navigationController pushViewController:viewController animated:YES];        
            [viewController release];
    Hope this helps


Home | Forum | Active Topics | What's New

Advertisements

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Similar Threads

  1. How can I view wmv files in emails?
    By mknoebel in forum iPad General Discussions
    Replies: 13
    Last Post: 03-25-2011, 05:09 AM
  2. Replies: 2
    Last Post: 02-18-2011, 05:44 AM
  3. How to view 'Other'?
    By Pvanosta in forum iPad Help
    Replies: 2
    Last Post: 12-20-2010, 06:59 PM
  4. can't view pdf files
    By dprouty in forum iPad Help
    Replies: 4
    Last Post: 10-05-2010, 06:21 AM
  5. [HELP] How to view old mails on iPad
    By sergani in forum iPad Apps
    Replies: 0
    Last Post: 09-12-2010, 03:54 PM

Search tags for this page

detail view from uitableview
,
detailview uitableview
,
how to make a tableview a detail view
,
tableview detail view
,
uitableview and detail view
,
uitableview as detailview ipad
,

uitableview detail view

,
uitableview detailed view
,

uitableview detailview

,
uitableview example ipad
,
uitableview load detail view
,
uitableview ? loading a detail view
Click on a term to search for related topics.