Ok. I have made a custom cell for my table, and it contains a text view. When I have multiple lines in the text view, I can scroll up and down, but in doing this the table also scrolls. How can I stop this behaviour? If anyone needs parts of my code or further details, please just ask. I am more than willing.
Thank you for your help
...
I currently have a UISegmentedControl set to add/remove table view cells when its value changes. Removing cells works perfectly, however when I insert cells they're in reverse order every other time.
NSArray *addindexes = [NSArray arrayWithObjects:[NSIndexPath indexPathForRow:2 inSection:0], [NSIndexPath indexPathForRow:3 inSection:0], ...
Hello all -
I need to create a view on the iPhone that scrolls horizontally through a gallery of images. The issue is that this gallery has the potential to have 100s to 1000s of images that needs to be presented, so I would like to avoid loading them all into a single UIScrollView at once and destroying performance. I need to create ...
Hi,
I need to add rounded corners to an image in a UITable View cell to 3px. What's the best way to go about this? Apparently you can use the quartz framework?
Thanks.
...
Hi,
I have an NSArray which contains information from an RSS feed on dogs, such as [dog types], [dog age] and [dog size]. At the moment my UITableView simply displays each cell on each dog and within the cell lists [dog types], [dog age] and [dog size].
I want to be able to allow users of my app to "sort" this data based on the dog nam...
Hi there,
I've tried to ask this before, but nothing got answered. Basically, I would like someone to explain to me how to create a table, which when a cell is tapped, pushes the user to the next view for that cell. I have this so far:
Click here to view what I have.
I would further like to, say when CSS is tapped, it goes to a new vi...
Is there a way to programmatically get a UITableView's 'grouped' style padding?
I'd like to size some things in my screen but I need to know how far left or right to place them on a grouped UITableView's UITableViewCell.
...
I found this post on Beveled UITableViewCells from http://news.selectstartstudios.com/beveled-uitableviewcells/. I'm using the technique to reduce the width of the cells, and for the most part it works great.
However, I have a small problem. Sometimes the cells are not redrawn properly. For example, even though a cell is supposed to be ...
I am using a custom header view in my UITableView, but as soon as i begin scrolling down the header disappears instead of staying in place like with the default headers. And it's not scrolling off the screen either, just completely disappering. viewForHeaderInSection is still being called but the drawRect method of my custom header view ...
Hello,
I added a table view into a view in interface builder and now I need to wire it up to some pre-made classes that you can generate in xcode. I set the tableview controller's class to the class in xcode and wired the dataSource and delegate to my table view but the app just crashes. Im not sure how to get data to properly load into...
I have this code [tableView deselectRowAtIndexPath:indexPath animated:YES];
Why doesn't the table view deselect the row, What am i doing wrong.
EDIT:
-(void)tableView:(UITableView *)tableView didDeselectRowAtIndexPath:(NSIndexPath *)indexPath{
[tableView deselectRowAtIndexPath:indexPath animated:YES];
}
...
Hi there,
When it comes to compiling my application, I get the error mentioned in the title. How would I go about remedying this error? Basically, I want to get from one table to the other. Hierarchy, navigation.
NextViewController.m
#import "RootViewController.h"
#import "NextViewController.h"
@implementation NextViewController
- ...
Hi,
I have a UITable View that displays an image in the left hand side of the table cell, and it works fine in the simulator.
Only problem is, once I ran it on my device no images appear. It's just a blank white space.
Have checked that images are added to resource folder for build (which they are) and that capitals etc. match (which ...
I'm working on a grouped UITableView, with 4 sections with one row per section, and have a strange behaviour with the cells.
The cells are plain UITableViewCells, but the height of the cells are around 60 - 80 pixel.
Now the tableview renders the cells correct with round corners, but when I select the cells, they appear blue and rectangl...
Hi...
I've have a table view that consist of item list that depends on the item that were purchased using in app purchasing.
My question was how can I reload the tableView when the purchasing was completed/(or when new item was added on my list). The response of the storekit takes time to complete. Are there anyways to tell the app tha...
I have an iPad app with split view. In the root view I need to make a two-level UITableView, so the UIWebView in the DetailView shows corresponding content. What I need is to make a two-level UITableView without editing, moving etc, so it can send the name of the selected row in the second level of the table to the DetailViewController. ...
UPDATE 4.0
Seems like iOS 4.0 changed something here. Same code producing incorrect backgrounds for section header in the described scenario is working with 4.0 according to my first quick check!
Original
I have a UITableView grouped style with custom header and footer view. Inside the footer I put a UILabel and a UIButton.
Clicking ...
I am noticing a very strange UITableView memory behaviour. I am writing an image application which displays thumbnails in UITableView. I am retrieving images in a separate thread and storing them in an array. UITableView cellRowatIndexpath reads from that array and sets up cells. According to my understanding, since I am creating UIImage...
Hi,
I am trying to have a button for selected rows of my table.
Here is the example code I am using:
- (UITableViewCell *)tableView:(UITableView *)tableView
cellForRowAtIndexPath:(NSIndexPath *)indexPath {
static NSString *ControlRowIdentifier = @"ControlRowIdentifier";
UITableViewCell *cell = [tableView
...
Hi,
the delegate method not called
-(void)viewWillAppear:(BOOL)animated
{
[theTableView setEditing:TRUE animated:TRUE];
}
-(UITableViewCellEditingStyle)tableView:(UITableView *)tableView editingStyleForRowAtIndexPath:(NSIndexPath *)indexPath
{
return UITableViewCellEditingStyleDelete;
}
by calling the above the methods i wi...