I have built an app which has the ability to delete cells from a table, but only if there are more than two cells.
If there are two or less cells, it only lets me select them. Any ideas?
Here's a video to visualize it: http://slavingia.com/etc/helpme.mov
indentationLevel property doesn't appear to do anything?
1:How do I programatically pull lists/arrays of (itunes urls to) apps in the iphone app store?
you must see how many items are in the source, if its less than 2 then you must return none in this method which wont allow editing, otherwise you must return delete style so you can. how to remove subviews from scrollview?
- (UITableViewCellEditingStyle)tableView:(UITableView *)tableView editingStyleForRowAtIndexPath:(NSIndexPath *)indexPath