|
|
Version: 1.1 Posted: 2009-04-23 Build Requirements: Mac OS X 10.5.6 or later, iPhone SDK 3.0 Runtime Requirements: Mac OS X 10.5.6 or later, iPhone SDK 3.0 Download Sample Code (Accessory.zip, 28.6K) |
||||||
DescriptionDemonstrates how to implement a custom accessory view for your UITableView in the form of a checkmark button. It shows you how to override the appearance or control of the accessory view, much like that of "UITableViewCellAccessoryDetailDisclosureButton". It implements the custom accessory view by setting the table's "accessoryView" property with a UIButton of type "UIButtonTypeCustom". It can be toggled by selecting the entire table row by implementing UITableView's "didSelectRowAtIndexPath". The green checkmark is trackable (checked/unchecked), and can be toggled independent of table selection. Document Revision History
|