uitableview

iPad Frame programmatically doesn't match with IB???

Hi everyone, I'm trying to draw 2 UITableViews programmatically on a landscape iPad. I drew it first in IB to get the values for x, y, width and height from inspector, then programmatically i create CGRects with this parameters, but the final result is not what I saw in IB. what units uses CGRecktMake to measure the frame? The UITable...

Title for section in UITableView - remove text shadow ?

I have a grouped UITableView with black background color. Thus the gray section headers with the white drop shadows are unreadable. Next thing to know, the section height varies depending on language and section. How to solve this the most easy way ? If I implement viewForHeaderInSection I also need to implement heightForHeaderInSectio...

iPhone UITableView with Multiple Sections

Hi All, Apologies if this is a simple question but googling hasn't been able to help me. I am planning to display 3 arrays of data in a Table View that has each array in a different section in the Table View. Can any one provide me with a link to a good tutorial or sample code that could help me with this? Once again I apologize if th...

UITableView.backgroundColor in SDK 4.0

I have an app that has a custom background for a UITableView. Up to the SDK 3.1.3 this was done by setting the table's backgroundColor property to [UIColor clearColor] and placing the table on top of another view (a UIImageView' for example). SDK 3.2 added thebackgroundViewproperty, and the same effect could be achieved by setting it ton...

add Toolbar above UITableView for use in UISplitViewController detail view

I want to use a table view as the detail pane in my UISplitViewController. How do I put the toolbar at the top? I want to be able to add bar button items in the same way as my non-table detail views. Thanks. ...

Facebook's iPhone application -- User Interface for Inbox

I am trying to figure out implement a Compose New Message view that works in the same way the Facebook iPhone application does theirs. It's very similar to MFMailCompose and MFMessageCompose but both of those are already set to search through the iPhone's contacts. Facebook's application looks exactly the same except theirs searches thro...

Bottom part of UISwitch is cut off on the device but displays normal on the Simulator

The UISwitch on my device: The UISwitch on the simulator: As you can see, the bottom pixels are cut off on the device, but not on the simulator. I have tried just about everything I can think of, but nothing has fixed the problem. Some of the things I've tried: Changing the UISwitch's frame's height Changing the UICell's h...

UITableViewCell repeats after scrolling

I am not sure why my UITableViewCell's are repeating after the user scrolls? - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *CellIdentifier = @"Cell"; ChartlyCell *cell = (ChartlyCell*)[tableView dequeueReusableCellWithIdentifier:CellIdentifier]...

Havng problems responding to cmmitEditinStyle in tableView

I am basically getting no response after i had gone into edit mode using : [self.tableView setEditing:NO animated:YES]; I set commitEdittingstyle: - (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath; To see that I would get a response, bu...

Rearranging between sections in UITableView

I have a UITableView with 2 sections in it. I have enabled rearranging in my table view, but I have a strange problem. I do not want the user to be able to rearrange rows between sections (I only want users to be able to rearrange rows within their section). If I try to drag a row from the first section to the second section, it will no...

UITableViewCell - displaying accessory view beside rearrange control

In the Safari bookmarks manager on iPhone, the UITableView seems to have behaviour that isn't standard. I'm referring to this: In edit mode, the bookmark UITableViewCells have both a rearrange control and a UITableViewCellAccessoryDisclosureIndicator accessory view next to them. How do you get both? In my table views, when you go into...

adding multiple column in UITableView

I have multiple column and row data , i want to place it in table view also i want make it scrollable vertically as well as horizontally . how to do this ? please help... ...

maximum number of rows that can be shown on tableview

Hi, I would like know the limit of maximum number of rows that can be shown in the UItableView. Thanks in advance. ...

Programmatically Add UITableView to UITabBar

I have a TabBar App. I have created a UITableView class called "Schedule" that has a matching Nib. I want to add Schedule to the TabBar, but I do not want to do it through Interface Builder. When I add it Programmatically, I see the TableView, but it is blank. I have added some NSLogs to Schedule.m and the class does not appear to be cal...

Row selection when dragging over a UITableView with scrolling disabled

If one were to create a standard grouped table view consisting of two rows and then touch down on the first row, the cell would highlight. If one were to then drag one's finger down, the selection of the row cancels, and the table view begins to move with the drag. Imagine the same situation, but with table view scrolling disabled via t...

iPhone: Preventing text truncation with UITableView of style UITableViewCellStyleValue1

As you can see, both the text (left) and the detail text (right) have been truncated. How can I ensure only the detail text on the right is truncated, while the text on the left remains in full? Thanks friends. ...

UITableView in Popover scrolls out of bounds when keyboard is opened

Hi, 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 being covered by the keyboard. But as it moves up, the table view in the popover scr...

UITableView editing accessory view divider color

I have a UITableView with the editingAccessoryType set to UITableViewCellAccessoryDisclosureIndicator. The result is this: It works, but I have a custom background, and therefore a custom separator color. However, the divider between the rearrange control and the accessory is set to the same standard table view separator color. Is the...

UITableViewCell has square corner with image

I have a grouped UITableView that contains several cells (just standard UITableViewCells), all of which are of UITableViewCellStyleSubtitle style. Bueno. However, when I insert images into them (using the provided imageView property), the corners on the left side become square. The code being used to assign the values into the cell is...

UITableView add cell Animation

Hi Guys, Can any one help me out with UITableView animating issue. By default we have animation for deleting cell and reordering cells in UITableView. Can we have animated adding cell, if so how to do it. I have checked out Three20, did not not get how twitter has done the table expand animation under MyProfile>ReTweets. Want to try...