I am writing an iPhone application that has a table cell with the UITableViewCellEditingStyleDelete style. This leads to the display of a cell with a red circle in which the minus sign is on the left. Still. It also has a βDeleteβ button (a rectangular button with the text βDeleteβ) on the right side. I need to change the text "Delete" to localize to other languages. Where is this text defined?
In the UITableViewDelegate Protocol you should look at the following method:
UITableViewDelegate Protocol
- (NSString *)tableView:(UITableView *)tableView titleForDeleteConfirmationButtonForRowAtIndexPath:(NSIndexPath *)indexPath
See docs .
Source: https://habr.com/ru/post/1390916/More articles:Add a custom nuget channel from the package manager console (PowerShell) - powershellpython socket.gethostbyaddr () - reduce latency? - pythonIn JavaScript, is it possible to add a callback function instead of overwriting it? - javascriptCSS Firefox extends parent div, but not IE or Chrome, bug? - cssGROUP BY using parameters in SQL - sqlRuby: delete everything after (including) decimal - ruby ββ| fooobar.comWhy does it make sense to duplicate pointers to allow circular save cycles in ARC? - memory-managementOpenCV calibration parameters and three-point conversion from stereo cameras - opencvRuby / Rails: how can I create multiple records in salesforce with a single API call through rforce gem? - ruby ββ| fooobar.comRun matlab from C # and give the matlab parameter - c #All Articles