iPhone Detail Disclosure Button
iPhone Detail Disclosure ButtonIn iPhone based applications, detail disclosure are used to show the detailed information of list items. On clicking it .. it'll bring up the detail information about the item in list.
We can also say that it's a table view elements and you can use it in your program by calling "cell.accessoryType". In ViewController.m there is a UITableViewFunction "tableView cellForRowAtIndexPath:" what all you have to do is just paste the given code outside the "UITableViewCell" and it will load the DisclosureIndicator at the right side of each cell...
"cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;"
There are two more accessory type in the objective c that you can use in your application. These are ...
1. DetailDisclosureButton: In case if you do not like simple Indicator you can use DetailDisclosureButton instead.
"cell.accessoryType = UITableViewCellAccessoryDetailDisclosureButton;"
2. Second accessory is CheckMark that will show you CheckMark instead of detail indicator.
"cell.accessoryType =UITableViewCellAccessoryCheckmark;"