In order to change the color of accessory disclosure you need to initialize accessory view with an image.Ĭell. In order to show accessory disclosure you need to set cell's accessoryType during cell creation in cellForRowAtIndex method.Ĭell.accessoryType = UITableViewCellAccessoryDisclosureIndicator īy default accessory disclosure will have black color. Show Accessory Disclosure (Arrow at right) Use following snippet to change text color of cell.Ĭ = We have created the cell in cellForRowAtIndex method. How to unselect a uitableview cell when the user returns to the view, If you using UITableViewController subclass then just set property Click on your UITableViewController -> Check the 'Selection: Clear on Tells the delegate when the user starts using a two-finger pan gesture to select multiple rows in a table view. Select the bottom one and make it a Right Detail cell named options cell as the identifier. Change the background color to FFEEEE in the color picker. Select the top one and use a Subtitle cell style named cell as the identifier. In order to change text color you need to update the cell creation code. You’ll find in the outline two table view cells. In order to change separator color we need to use separatorColor property of UITableView. Now in viewDidLoad add following snippet. = Īdd round corner Īdd QuarttzCore framework and then add QuartCore.h to the viewcontroller. In order to add background color add below mentioned code snippet in viewDidLoad. Its is working but we need to beautify it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |