forked from mirrors/linphone-iphone
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 {
|
||||
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:
|
||||
[[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleDisplayName"],
|
||||
[NSString stringWithString:(NSString*)kABPersonPhoneMobileLabel],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue