Get a UITableView to not scroll and grow within a UIScrollView

I need to create a screen that is similar to the one below. The only way I can come up with is to have a UIScrollView be the parent view. Then have a UIImageView and UILabels for the thumbnail and main text ("All3Sports").

For the sections like the phone numbers and home page, I thought I could have a UITableView and have it simply not scroll and "grow" vertically based on it's content. I can't figure out how to do this. I can set it to not scroll, but then content gets clipped. If I set it not to clip then the scroll view still thinks it's a smaller size and doesn't scroll the content.

I'm open to ideas if there's a better approach to reproducing this screen.

Thanks in advance.

Get a UITableView to not scroll and grow within a UIScrollView

--------------Solutions-------------

I did something like this with a UITableView and set the table view style to UITableViewStyleGrouped but put the image & title, in your case "All3Sports", in the Header of the grouped table view and the 3 bottom buttons in the Footer.

This can be done using UITableViewStyleGrouped, with custom tableview cells for each row. The text and image for the name would be one cell type, the main, ringtone and homepage are another. The final cell with three buttons inside it would be another.

Category:iphone Time:2009-06-10 Views:0

Related post

  • UITableView won't scroll after editing view frame and origin 2009-12-03

    I'm trying to implement a UITextView in a table cell at the bottom of a table view. I've tried the suggestions here http://stackoverflow.com/questions/594181/uitableview-and-keyboard-scrolling-problem, and other solutions as well, but they're a bit d

  • How can I get a custom UITableView to automatically scroll to a selected text field? 2010-06-08

    I have a UITableView, which I am controlling from a custom UIViewController. When the user clicks the 'add' button, I add a row to the UITableView with a text field in it, and make it the first responder. The problem is, when the bottom of the table

  • configure UItableView not to scroll on iPhone 2011-02-27

    How do I set uitableView not to scroll So that it is fixed with two rows --------------Solutions------------- Use: tableView.scrollEnabled = NO; if you wish to fix the size you sould set the frame to be for 2 row's size: tableView.frame = CGRectMake(

  • UITableView does not scroll correctly (or not at all) 2011-03-09

    I am trying to scroll in a UITableView, while a keyboard is showing. I resize the TableView, so that it is not covered by the keyboard. I overwrote the textFieldShouldReturn function to skip to the next UITextField in my UITableView, and also scroll

  • UITableView doesn't scroll when used in "Tabbed Application" 2011-11-05

    I recently started my first project for iOS 5. I started with an empty preset, the so called "Tabbed Application". I inserted a UITableView in the main view. That UITableView doesn't scroll when I open it for the first time, but it does after switchi

  • Why my UItableView doesn't scroll horizontally whereas I did set ContentSize larger? 2012-03-11

    I have put some fields + an UITableVIew (named myTableView) within a scrollview (named parentScrollView). Now My TableView contains multiple columns so since it's a scrollview inside a scrollview I tried this in ViewDidLoad: [[self parentScrollView]

  • Xamarin UITableView won't scroll 2014-09-30

    I'm using Xamarin to develop a small test iOS app that displays a TableView filled with tweets. I have a Starter Edition account so I'm avoiding the use of Components since those increase the size of my binaries. I have a TableViewController and fill

  • pass scroll event from uibutton to uiscrollview 2010-09-17

    i have horizontal UIScrollView which is extended from UIScrollView and i added UIButtons horizontally. i can only scroll out of the buttons area, but if i want to scroll over any buttons is fires UIControlEventTouchUpInside event. I don't want this.

  • Adding a dynamic-height UITableView into a scrolling view? 2010-05-20

    Hello all – I'm getting into iPhone development and have hit my first confusing UI point. Here's the situation: My app is tab-based, and the view that I'm confused about has a static featured content image at the top, then a dynamic list below into w

  • UITableView doesn't scroll when number of items is less than scrollable limit 2009-09-07

    I've a UITableView and I populate data from a service. When the number of rows is higher than what could be displayed on the screen, I'm able to scroll the table. But when it's less (say 1 or 2), I'm unable to scroll (in the sense, the bouce effect d

  • Switch to UITableView controller and scroll to start of section 2009-10-02

    Good Morning, I'm hoping someone would be able to shed some light on how i can switch from a ViewController nested in a tab bar controller to another ViewController nested in a navigation controller nested in the tab bar controller, and then scroll t

  • UITableView crashes on scroll 2009-11-29

    I have a TableView that builds and draws ok, but then crashes on scrolling the view. I've run through the debugger and it appears that my class level variables are being overwritten somehow so they no longer exist when the titleForHeaderInSection is

  • Image on uitableview lost after scrolling 2009-12-02

    in my application, i'm loading images to the cells of a table. But, when i scroll the table, the image goes out of sight of the table(goes up), it wont be there even if i scroll back. customCell.h #import <UIKit/UIKit.h> @interface CustomCell :

  • UITableView does not scroll to cell 2010-05-26

    I am trying to scroll my tableview to the 2nd cell: [self.tableView scrollToRowAtIndexPath:[NSIndexPath indexPathForRow:1 inSection:0] atScrollPosition:UITableViewScrollPositionNone animated:NO]; I get the error: *** Terminating app due to uncaught e

  • UITableView Header View Scrolls 2010-06-07

    I am using a header view, not section header, with my UITableView. The documentation says that the header view sits on top of the table, but my header view scrolls just like a normal row. Is there a way to make the header view always visible at the t

  • UITableView in Popover scrolls out of bounds when keyboard is opened 2010-06-25

    I have a popover that contains a UITableView. This UITableView has a cell with a text field in it: When the popover opens near the bottom of the screen, and I tap the text field to edit it, the keyboard comes up, and the popover moves up to avoid bei

  • Black Translucent Nav Bar / UITableView / Content Inset / Scroll Position Issues 2010-08-17

    I'm implementing a UITableView that has the index along the right hand size as well as section headers. I'm essentially implementing a stock NSFetchedResultsController as depicted in Apple's docs. The UITableView is contained within a UINavigationCon

  • UIGestureRecognizer in UITableView - Crash After Scrolling? 2010-10-12

    I have a UITableView with custom cells. Inside each cell is 2 views. Each view has a UIGestureRecognizer attached to handle tap events. When the view is tapped, I send a message to a UINavigationController to push a detail view. This scenario works f

  • strange behaviour when data is dynamically loading in UITableView while fast scrolling 2010-12-15

    I am downloading xml data from webserver as a pagewise. After parsing data (NSMutableArray) I added to UITableView datasource with [tableView reloadData] method. If I am not touch it ata all than it will display properly but If I fast scrolling durin

Copyright (C) pcaskme.com, All Rights Reserved.

processed in 0.497 (s). 13 q(s)