[ad_1]
I’m attempting to import .db information utilizing UIDocumentPickerViewController. Solely want to indicate information with db extension (eg: pattern.db) in doc picker.
There may be an choice to offer doc sort as Uniform Kind Identifiers, however there isn’t any UTIs discovered for db information.
Is feasible to create customized UTIs by checking extension.
Offering pattern code under,
[[UIDocumentPickerViewController alloc] initWithDocumentTypes:@[@"public.db"]
inMode:UIDocumentPickerModeImport];
documentPicker.delegate = self;
[self presentViewController:documentPicker animated:YES completion:nil];
[ad_2]

