문제

How can i remove all the cell accessories within a table with the press of a button?

I wanted to go through all the table rows and set the accessory for each cell to none. To do this you need to know the indexPaths to be able to get the rows. This isn't possible within Mono Touch (but is in native code!).

Does anyone know how to solve this?

도움이 되었습니까?

해결책

Have the button cause a table refresh, and set some flag that will tell GetCell() whether or not the accessory should be drawn.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top