【问题标题】:how can i use indexPath.Autorelease ? removing last index value我如何使用 indexPath.Autorelease ?删除最后一个索引值
【发布时间】:2014-07-16 11:14:23
【问题描述】:

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

【问题讨论】:

  • 您的问题不清楚,但我认为您真正想要的是 deselectRowAtIndexPath (iosapi.xamarin.com/…)。

标签: uitableview xamarin.ios release autorelease


【解决方案1】:

要删除 Selected Row 吗?如果是的话。

RemoveObjectAtIndex(indexPath.row);

【讨论】:

    猜你喜欢
    • 2014-02-08
    • 1970-01-01
    • 2019-10-31
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-07-23
    • 2016-11-15
    相关资源
    最近更新 更多