uitableview

Disable UITableView Scrolling during editing

Hi I've a UITableView configured to NO scrolling. In standard state (not in editing mode) the scrolling is correctly disabled but when i go in editing mode and I think to move row the scrolling is enabled and this cause some problem. Why, if the scrollingEnabled property is set to NO the scrolling is enabled in editing mode? can anyone ...

Tap Status Bar Time

I am using a UITableView in my app. After scrolling down, if I tap on the status bar time, the table is repositioned to the top. Any idea how this is done and is it possible to intercept the action. TIA, Jim B ...

iPhone empty table message (eg like "No contacts" in simulator, or "No results" in search )

Is there a right way to add empty table text? For example, if you go to the simulator and open contacts, the table is empty and displays "No Contacts". Or searching that gives a "no results" message via the UISearchDisplayController. I could do this via a label positioned and hidden at run time, but is this the correct approach? Thank...

NSURLConnection not "firing" until UITableView scrolls..

Hi, I've got a UITableView that loads an image asynchronously and places it in the UITableViewCell once it's loaded (I'm using almost the exact same code as in the "LazyTableImages" tutorial). This works fine for all images when I scroll the table, but it's not loading the images that are first in the view. The code is definitely worki...

UITableView - Loading data from internet

Hey. I have seen many apps that load data to UITableViews from the internet, and they usually load smoothly. Now it's my turn to load in that kind of data. I am getting different data at the same time, separating categories with ~ and pieces of categories with #. This works great, and I have managed to separate the data in obj-c perfect...

Iphone: RSS with Images in tableView

Hello! Im trying to make an rss-app, with the feed in a table, each row with a title and an (thumbnail) image. I have everything working fine with just text, but i can’t seem to get the images to show up... Can somebody please help me with this? It would mean a lot to me!!! My xml data looks like this: Henin slumps to defeat by Stosu...

How to put a toolbar ontop of a UITableView?

I have a RootViewController that is loading a UITableViewController from an external NIB. I am not sure how I can add a toolbar to the RootViewController so that it appears on top of the UITableViewController? When I drag a UIToolbar onto my screen, it replaces the UITableView ...

Is there a CSS library which mimics the iPhone grouped UITableView?

Is there a CSS library which mimics the iPhone grouped UITableView? I want to build a nice looking table which looks exactly like the grouped UITableView. As there are multiple text styles within the each line of text, and I don't need any interactivity except scrolling, it seems it would be easier to build with HTML and display it in a...

iPhone: cornerRadius quality gets degraded

I have a UILabel that I create a radius on the layer, using cornerRadius. The ultimate goal is to make the label look like Apple does in the mail app. It looks great at first, but once you drill down into that row and back a few times, the quality of the rounded edge starts to degrade. You can see in the screen shot, the left side i...

How do get the view that is the tapped detail-disclosure-button.

The cell in this iPhone TableView definitely has a Detail-Disclosure-Button. When I tap it... shouldn't this code give me access to the button? Instead detailButton is always just null. - (void) tableView:(UITableView *)tableView accessoryButtonTappedForRowWithIndexPath:(NSIndexPath *)indexPath { UITableViewCell *aCell = [tableVie...

TableView frame not resizing properly when pushing a new view controller and the keyboard is hiding

Hi, I must be missing something fundamental here. I have a UITableView inside of a NavigationViewController. When a table row is selected in the UITableView (using tableView:didSelectRowAtIndexPath:) I call pushViewController to display a different view controller. The new view controller appears correctly, but when I pop that view cont...

Prevent subview from scrolling in a UIScrollView

I have a UIScrollView subclass with a certain subview I'd like to prevent from scrolling (while all the other subviews scroll as normal). The closest example to this I can think of is UITableView's "index strip" on the right side (look in the Contacts app to see an example). I am guessing this is a subview of the table (scrollview) but ...

Removing NSLog breaks compiler

Okay, so this is weird I have this code - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { switch (indexPath.row) { case 1: NSLog(@"Platform Cell Selected"); AddGamePlatformSelectionViewController *platformVC = [[AddGamePlatformSelectionViewController alloc] initWithNibNa...

Lazy load images for UITableViewCells from NSDocumentDirectory?

Hey. I have a tableView in my app that I load in images to from the NSDocumentDirectory. It works, but when scrolling up and down, the app seems to freeze a bit. I know that this is because of the images getting loaded in, and not getting cached, but I don't know how I can load them in later, after they've been created. The images are ...

UITableView: block cell dragging during reordering

Hi I've a problem with UITableView. When I'm in editing mode i want to reorder the cell but e when I drag a cell at the bottom of the screen it's allowed to go down as much as the TableView height and down the last tableViewCell. I've only 4 cell and i want that when Im dragging a cell it's not allowed to go down after the fourth cell. ...

Making UITableViewCells bleed over

What I'm trying to achieve might be a bit of a novelty, but maybe someone has already done this or has some great ideas. Here's the situation: I have a UITableView sitting on top of a UIImageView (which provides the background) that has a brushed metal texture. The fist row in the table is colored black. What I'd like to achieve, is the ...

Reranging a uitableview

Hallo @ All I ran into the same problem as desciped in http://stackoverflow.com/questions/1884491/crashing-while-trying-to-move-uitableview-rows! All I want to do is on specific reranging operations insert a new cell or delet the selected one! Sometimes I get a * Assertion failure in -[_UITableViewUpdateSupport _setupAnimationForReord...

iPhone UIWebview video playback 4.0

Now that 4.0 is public, I can edit this question and ask it again. This code works in 3.2 and any prior versions, but in 4.0 I get an alertView saying "This movie could not be played". ivar webView //in viewDidLoad self.webView = [[UIWebView alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame]]; webView.scalesPageToFit = YES...

iPhone - One View with Many UITableView's

Hi all, I am working on an iPhone view that has some header text along with a UISegmentedControl at the top and a UITableView beneath it. When a different segment is selected in the UISegmentedControl, I need a different set of records to be displayed in the UITableView. What is the best way to implement this? Should I have one UITab...

Creating Drill-Down Detail UITableView from JSON NSDictionary

I'm have a load of trouble finding out how to do this, I want to show this in a UITableDetailView (Drill-Down style) with each item in a different cell. All of the things I've read all show how to load a single image on the detail instead of showing as a UITableView. Does the dictionary have to have "children" in order to load correctl...