Tag: uitableview

Smooth reload of uitableview data when rows are deleted

I am trying to reload a uitableview when it scrolls to the bottom of the screen. I delete the first few rows and add more rows to the bottom. Before the news rows are added to the uitableview’s data source, i call the [tableview reloaddata] method. This is because i want the tableview to display […]

UITableView – Keep bottom-most cell scrolled to the top?

Im creating a music based app. The playlist screen is a UITableView. It has 3 sections: Previous Tracks, Now Playing, Next Tracks. They are in order as follows: — PREVIOUS TRACKS SECTION — Track Z Track Y Track X — NOW PLAYING SECTION — Track A — NEXT TRACKS — Track B Track C Track […]

How to call web service after each certain number of data received and load it into table view

I am working on a project in which at first web service call we are getting some 20 number of data which we are loading to table view and once we start scrolling up for view when it reaches 20 number we need to call service for next 20 no’s, like facebook does. This we […]

How to detect tap on Uitableview cell with uiview and uibutton?

I have created a table view and i am adding my custom uiview into the cell’s content view. The uiview has a uibutton. However i can add the uibutton into the content view when the cell is created. I want to get the tap event on the tableview to perform some action. I also want […]

In Table view How to add another custom cell in expanded cell in ios?

Hi i have been working expanding cell for the past few days from some suggestion of internet i found code to expand the customcell. Now my question is i am using custom cell here so after expanding cell i wanna add another custom cell in the expanded custom cell. So any one can help me […]

UITableView won't scroll to certain position

[self.tableView setContentOffset:CGPointMake(0,48) animated:NO]; I have a UITableView that has a a UIView in the header. My UITableView won’t scroll to (0,48) unless animated: YES. I don’t want it to animate. Anyone know whats up?

How to remove top cell separator line

How do I get rid of the separator line appearing above the status bar? It’s hard to see in a screenshot, so I colored it red. I tried the code below for the first cell, but that didn’t work. cell.separatorInset = UIEdgeInsetsMake(0.f, 0.f, 0.f, 0.0f);

UITableView with fixed image background

Sorry but I found no clear answer on that. I have an iphone app with a tab bar and a UINavigationController in each tab. The interface is built with Interface Builder, and in the first tab there is a UITableView. I have prepared the xib with main view (A) containing a table (T) and an […]

UIView in cell — Can't round right-hand corners

I have a rectangular UIView object in a static table view cell. I have an outlet to the object and I’m trying to selectively round corners but it will not round corners on the right. Here’s what it looks like in the storyboard: The view I want to configure is the pale yellow one. The […]

Why does tableView dequeueReusableCellWithIdentifier:CellIdentifier return null?

I am using xCode 4.2 to build an iPhone app. I don’t know why this statement UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier]; is null sometimes and not other times. I am going to state two scenarios, the first one where cell is not null, and the second one where it is null. Let me start with […]