Post

Replies

Boosts

Views

Activity

Device frames images from Apple website too large and greyed out
I am creating the images for my app to be published on the App Store. I have images depicting the use of my app with sizes corresponding to what is requested, as this page reads: Screenshot specifications - App Store Connect Help (apple.com) Now I want to use also the device frames that can be found at: Marketing Resources and Identity Guidelines - App Store - Apple Developer putting the screenshots inside the frame with just some adjustments. Example: I downloaded the iPad Pro 12.9 frame image but it is way too large if compared with the screenshot. I opened it in Gimp and it is much larger then expected. Moreover it is greyed out, and also when I paste the conteng image it is greyed out. This is the first time I am releasing an app with Apple so this question could be silly. Still I need help. Other questions of mine went unanswered. I hope this one will have some answers. Thank you
0
0
2.3k
Apr ’21
Localization .strings troubleshooting: help needed
Hello, my SwiftUI app is localized with .strings files. Now I am testing the localization with only one .strings file (for the English language). The occurrences in this file are in the form of "key"="value"; I checked the content and " ; chars are ok escaped unicode (\uxxxx) and \n " ' chars are ok all entries are on one single line the file is in a folder named en.lproj which is inside the Resources folder. In the build phases tab of the project the en.lproj folder is listed. Here's the function that translates the occurrences: func getLocalizedString(_ keyParam:String)->String { let result=NSLocalizedString(keyParam,comment: "") //print("translate "+keyParam+"="+result) return result } All files seem to be in the project, no need to add them again. When running the app on the simulator (language=English) the keys are displayed and not the traslated values, like title_label instead of Title so I think the translating function does not load the .strings file. I know this is a issue for everyone trying to localize their app, so I am asking here which checks can I perform to troubleshoot and fix the localization? Thanks
0
0
758
Jun ’21
Retrieving app first installation date/build ever for a single user on any device
I would like to know if a function is available in Swift or Objective-C for an iOS 14+ application to retrieve the very first installation date of the app from the App Store on any device. It would be useful for me to grant full access to the app features in the case I introduce the freemium model for my app. I asked aboout this change here Free app introducing in-app purchase for some features I want to grant the full functionality to users that installed the free version as I pointed out in a further comment, but no one answered. I do not know if this is possible without App Store server interrogation, I mean with just an information that is on the device registry because the app is installed, and refers to the first installation ever, not on this device alone, and not being lost with factory reset procedure or similar. Alternately another useful information would be the most ancient app version or build number that the user got from the App Store ever. Some suggest to deploy an intermediate version that stores the app version or build number in some persistent user data location. Thanks
0
1
1.3k
Feb ’22
iOS Safari App extension loading HTML from internal domain
Hello, I would like to have some fringe information about ioS Safari App extensions. My need is passing some HTML to the iOS Safari browser so a new tab or window is opened and the HTML rendered (and its Javascript executed, if any). Being that this is not possible directly, and said that I need that the HTML is handled by Safari and not by a WKWebView or by a SFSafariViewController inside my app, I thought about using an app extension. This seems to be cumbersome, especially for the reaasons described here: https://www.wildfire-corp.com/blog/to-apple-your-new-mobile-safari-extensions-are-great-can-opting-in-be-made-easier I do not know if something has changed or will change, I did not dive in the extension development yet. My idea is creating an extension with access to only a special domain, like html.myapp The url would be https://html.myapp/37h238rd83dt2d2tr8fai33cf When my app wants to open an url like that, Safari should open a window and start the extension, right? open(url,options:options,completionHandler:handler) The url contains a sort of query parameter that is a long string (bas64?) representing the entire HTML code, or a sort of unique ID. The script has to display the HTML after extracting it from the url, or read some shared data between the app and the extension based on the ID. After this point no other interaction is needed between the app and the app extension. I would like to know if the Safari browser in fact can open the new window just on behalf of a special url like the above mentioned one, that is, an url that does not point to a real web page, being that the domain is somehow "fake", although authorised from the Info.plist file. The domain is just for enabling Safari to receive the entire url with HTML string or the unique ID. So would the iOS Safari browser open the window, start the script and then display the HTML? And would all this be allowed by the submission review process? Thanks in advance, Regards PS I know that it was better that Apple allows to pass securely some HTML from a registered iOS app to Safari, instead of this workaround, even with special info.plist keys, certificates or something like that.
0
0
880
Mar ’22
Local storage/db of WKWebView in App Clips and installed Apps
Hello, I am studying a possible scenario. Let's say I create an App Clip that features a WKWebView. The WKWebView hosts a sort of webapp that uses local storage and IndexDB. When the complete app is installed, are the data persisted so the WKWebView of the complete app finds them as it was reading them before? Are the data transferred by the operating system to a new location but still accessed the same way by the WKWebView (Or even the location is the same because it is the WKWebView special storage)? Or are they wiped out? Thank you in advance Best regards
0
0
457
Jan ’25