Can someone help me enable the delete button in ABPersonViewController?
ABPersonViewController
Take a look at the ABPersonViewController + Delete category, which does not use private methods:
https://github.com/shrtlist/ABDelete
For me, this code works:
ABPersonViewController *pvc = [[ABPersonViewController alloc] init]; [pvc setPersonViewDelegate:self]; [pvc setAllowsEditing:YES]; [pvc setAllowsDeletion:YES]; [pvc setAllowsActions:YES];
Source: https://habr.com/ru/post/1708079/More articles:Where can I find an online function link for LoadRunner? - referenceManipulating text selections in Powerpoint - c #Is it possible to use string macros in CSS? - macrosMysql Call Сохраненная процедура из другой хранимой процедуры - sqlPHP Jabber Stupid Question - phpПереименование файла/папки внутри Zip файла в Java? - javaGrouping views, controllers, models in MVC - c #Should I use an automatically generated primary key if I just execute the lookup table? - performancestack collection missing shift and offset in C # 2.0 - collectionsHow to copy an open file using VB6? - vb6All Articles