I am working on adding functions to delete a row in a UITableView on iPhone. Itβs pretty clear how to remove a line in an application, both from the model and from the user interface. However, uninstallation requires a call to the server, which cannot be guaranteed to be successful, given all the difficulties that may occur with a mobile connection. I implement both scrolling to delete for single rows and switching the entire table to edit mode.
- What behavior can be used in a UITableView / UITableViewCell to indicate a server call? I think it can be difficult with limited real estate.
- If the user is allowed to delete other lines during the delete call?
- What behavior is recommended for errors? Display UIAlertView?
source share