iphone Programming Glossary: selectionbackground
iPhone UITableView - Delete Button http://stackoverflow.com/questions/2104403/iphone-uitableview-delete-button choose the images based on the row index and the number of rows in the section. UIImage rowBackground UIImage selectionBackground NSInteger sectionRows aTableView numberOfRowsInSection indexPath section NSInteger row indexPath row if row 0 row sectionRows.. section NSInteger row indexPath row if row 0 row sectionRows 1 rowBackground UIImage imageNamed @ topAndBottomRow.png selectionBackground UIImage imageNamed @ topAndBottomRowSelected.png else if row 0 rowBackground UIImage imageNamed @ topRow.png selectionBackground.. UIImage imageNamed @ topAndBottomRowSelected.png else if row 0 rowBackground UIImage imageNamed @ topRow.png selectionBackground UIImage imageNamed @ topRowSelected.png else if row sectionRows 1 rowBackground UIImage imageNamed @ bottomRow.png selectionBackground..
|