accessoryType用法

cell.accessoryType = UITableViewCellAccessoryNone;//cell沒有任何的樣式
cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;//cell的右邊有一個小箭頭,距離右邊有十幾像素;
cell.accessoryType = UITableViewCellAccessoryDetailDisclosureButton;//cell右邊有一個藍色的圓形button;
cell.accessoryType = UITableViewCellAccessoryCheckmark;//cell右邊的形狀是對號;


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章