mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-04-27 13:16:21 +00:00
Fix crash on iOS8
This commit is contained in:
parent
965dc5b574
commit
e4d66021cf
1 changed files with 6 additions and 0 deletions
|
|
@ -74,6 +74,12 @@ static const ContactSections_e contactSections[ContactSections_MAX] = {ContactSe
|
||||||
|
|
||||||
- (void)initContactDetailsTableViewController {
|
- (void)initContactDetailsTableViewController {
|
||||||
dataCache = [[NSMutableArray alloc] init];
|
dataCache = [[NSMutableArray alloc] init];
|
||||||
|
|
||||||
|
// pre-fill the data-cache with empty arrays
|
||||||
|
for(int i=ContactSections_Number; i< ContactSections_MAX; i++){
|
||||||
|
[dataCache addObject:@[]];
|
||||||
|
}
|
||||||
|
|
||||||
labelArray = [[NSMutableArray alloc] initWithObjects:
|
labelArray = [[NSMutableArray alloc] initWithObjects:
|
||||||
[[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleDisplayName"],
|
[[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleDisplayName"],
|
||||||
[NSString stringWithString:(NSString*)kABPersonPhoneMobileLabel],
|
[NSString stringWithString:(NSString*)kABPersonPhoneMobileLabel],
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue