退出编辑模式 [英] Exit Edit Mode
本文介绍了退出编辑模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个对象数组填充UITableView。当用户从数组中删除最后一个对象时,我自动创建一个新的默认对象。但是,在TableView中,当用户到达时,列表仍处于编辑模式。有没有办法让我重新将TableView重新设置为正常模式?
I have an array of objects which populate a UITableView. When a user removes the last object from the array, I automatically create a new "default" object. However, in the TableView, when the user gets there, the list is still in "Edit" mode. Is there a way for me to programatically set the TableView back to "normal" mode again?
推荐答案
$ c>编辑属性到 NO
。 UITableView参考
这篇关于退出编辑模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文