associate abr files to panopainter on iOS and fix import menu

This commit is contained in:
2019-02-27 16:43:57 +01:00
parent c33fcdf932
commit f8987e2236
3 changed files with 77 additions and 30 deletions

View File

@@ -86,7 +86,8 @@ void App::pick_file(std::vector<std::string> types, std::function<void (std::str
redraw = true;
#ifdef __IOS__
// not implemented on ios
//[ios_view pick_photo:callback];
// fallback to pick_image
[ios_view pick_photo:callback];
#elif __OSX__
dispatch_async(dispatch_get_main_queue(), ^{
//NSArray* fileTypes = [NSArray arrayWithObjects:@"ppi", @"PPI", nil];