Post

Replies

Boosts

Views

Activity

iOS - Opening files with custom extension from external apps into my app not working
My Swift app should open files with a custom extension, let's say it is 'ext'. In the info.plist file it's like <key>UTExportedTypeDeclarations</key> <array> <dict> <key>UTTypeDescription</key> <string>List of datatype</string> <key>UTTypeConformsTo</key> <array> <string>public.json</string> <string>public.database</string> <string>public.data</string> <string>public.text</string> <string>public.content</string> </array> <key>UTTypeIdentifier</key> <string>com.myapp.datatype</string> <key>UTTypeTagSpecification</key> <dict> <key>public.filename-extension</key> <array> <string>ext</string> </array> <key>public.mime-type</key> <array> <string>application/json</string> </array> </dict> </dict> </array> the code for handling the opening is in the Application delegate but the app is not called at all. @UIApplicationMain class AppDelegate: UIResponder, UIApplicationDelegate { func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { let url=launchOptions?[UIApplication.LaunchOptionsKey.url] if ((url) != nil) { //importing is implemented here ... ... } return true } ... ... When executing the app on the iOS simulator it happens that if I select such a file from the Files app it is displayed in the Files app itself, but neither it is opened in my app, nor there is an option to send it to my app diretly. But the extension seems to be registered because the description (List of datatype) is displayed when the file is opened inside the Files app as JSON text. What can be done to fix the opening on behalf of other apps, like Files or eMail for example? Is the provided info.plist snippet correct? Should I to set something else in the project?
1
0
3.2k
Jun ’21
Are iPhone Pro Max 6.7" or 6.5" screenshots required?
Hello, I am checking the guidelines out and I am preparing the screenshots for my app publication. I found something I deem strange: the developer is asked to provide a 1284x2778 image for iPhone Pro Max that's 6.7 inches diag, but then it is said to upload 6.5 inches diag screenshots. It is the first screenshot specifications line, you can read at Screenshot specifications - App Store Connect Help (apple.com) What is to upload 6.7" or 6.5" screenshots? Thanks in advance
1
0
5.1k
May ’21
What does "screenshots" mean for the App Store app product page, artwork or real screenshots?
I am creating the images for my app product page in the App Store. I see that there are screenshot specifications to follow, that seem to be reasonable. Indeed they have the resolution of the screen of the iOS devices. I would like to understand what scenarios are possible: 1- artwork images has to be created that have the right size for the devices displaying them on their App Store, and they can also contain an area depicting a device running my app (for example, rotated and surrounded by a nice background and some text) 2- a simple screenshot of the app Many tutorials show that kind of images of scenario 1. But the "screenshot" size requirements clearly refer to the device screen size, for a screenshot. Every response is appreciated. Thanks
1
1
842
May ’21
iOS - Opening files with custom extension from external apps into my app not working
My Swift app should open files with a custom extension, let's say it is 'ext'. In the info.plist file it's like <key>UTExportedTypeDeclarations</key> <array> <dict> <key>UTTypeDescription</key> <string>List of datatype</string> <key>UTTypeConformsTo</key> <array> <string>public.json</string> <string>public.database</string> <string>public.data</string> <string>public.text</string> <string>public.content</string> </array> <key>UTTypeIdentifier</key> <string>com.myapp.datatype</string> <key>UTTypeTagSpecification</key> <dict> <key>public.filename-extension</key> <array> <string>ext</string> </array> <key>public.mime-type</key> <array> <string>application/json</string> </array> </dict> </dict> </array> the code for handling the opening is in the Application delegate but the app is not called at all. @UIApplicationMain class AppDelegate: UIResponder, UIApplicationDelegate { func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { let url=launchOptions?[UIApplication.LaunchOptionsKey.url] if ((url) != nil) { //importing is implemented here ... ... } return true } ... ... When executing the app on the iOS simulator it happens that if I select such a file from the Files app it is displayed in the Files app itself, but neither it is opened in my app, nor there is an option to send it to my app diretly. But the extension seems to be registered because the description (List of datatype) is displayed when the file is opened inside the Files app as JSON text. What can be done to fix the opening on behalf of other apps, like Files or eMail for example? Is the provided info.plist snippet correct? Should I to set something else in the project?
Replies
1
Boosts
0
Views
3.2k
Activity
Jun ’21
Are iPhone Pro Max 6.7" or 6.5" screenshots required?
Hello, I am checking the guidelines out and I am preparing the screenshots for my app publication. I found something I deem strange: the developer is asked to provide a 1284x2778 image for iPhone Pro Max that's 6.7 inches diag, but then it is said to upload 6.5 inches diag screenshots. It is the first screenshot specifications line, you can read at Screenshot specifications - App Store Connect Help (apple.com) What is to upload 6.7" or 6.5" screenshots? Thanks in advance
Replies
1
Boosts
0
Views
5.1k
Activity
May ’21
What does "screenshots" mean for the App Store app product page, artwork or real screenshots?
I am creating the images for my app product page in the App Store. I see that there are screenshot specifications to follow, that seem to be reasonable. Indeed they have the resolution of the screen of the iOS devices. I would like to understand what scenarios are possible: 1- artwork images has to be created that have the right size for the devices displaying them on their App Store, and they can also contain an area depicting a device running my app (for example, rotated and surrounded by a nice background and some text) 2- a simple screenshot of the app Many tutorials show that kind of images of scenario 1. But the "screenshot" size requirements clearly refer to the device screen size, for a screenshot. Every response is appreciated. Thanks
Replies
1
Boosts
1
Views
842
Activity
May ’21