Tag Archives: uitableview
Replace custom UITableViewCellAccessory-DisclosureIndicator on cell select
After my last post about creating a custom UITableViewCellAccessoryDisclosureIndicator, I found something else to post about. I needed to replace my custom Disclosure Indicator with a selected state. I tried to replace the image with the help of an if statement if(cell.selected){ }if(cell.selected){ } This didn’t work! I then found a solution which was to […]
Change UITableViewCellAccessory-DisclosureIndicator colour
I needed to change the UITableViewCellAccessoryDisclosureIndicator to be white as I had a dark background and the the default grey colour didn’t show up very well. The best way to do this is to create an image and add it to an image view and add that to the cell.accessoryView. cell.accessoryView = [[[UIImageView alloc] initWithImage:[UIImage […]
PullToRefresh iOS
Maybe a bit late to the table but this plugin is so easy to use but makes a huge difference to an app. It takes a couple minutes to get it working in an app so no reason not to use it if you need a way of refreshing a uitableview https://github.com/enormego/EGOTableViewPullRefresh