简体   繁体   中英

iphone UIActionSheet

I have used two different NSArray to display data in two different labels in a custom TABLE VIEW. How can I delete a cell from the table view using UIActionSheet (using UIActionSheet's destructive button) such that the data also gets deleted from the NSArray?

You have to remove it from arrray [arrayName removeObjectAtIndex:indexPath.row];

And then reload the table:

[table reloadData];

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM