我怎么能使用indexPath.Autorelease?删除最后一个索引值

时间:2014-07-16 11:14:23

标签: uitableview xamarin.ios release autorelease

我使用monotouch进行开发,uitableview会记住最后的选择,所以我需要释放它indexPath.IndexPathByRemovingLastIndex();用法,行选择有什么办法吗?

1 个答案:

答案 0 :(得分:0)

您要删除所选行吗?如果是的话。

RemoveObjectAtIndex(indexPath.row);