I am creating a iOS app with XCode. All source code has been written and compiled. The app runs in the iOS simulator. The user interface was created in SwiftUI and it appears as expected.
The navigation seems to be working across the screens but I cannot have the menu as designed and I see a double toolbar where the back button appears.
The navigation happens by NavigationLinks associated to buttons.
If I navigate one screen deep I have a back button and a back icon. It seems that the back button is a menu in fact. If I navigate two screens deep the back button shows a menu with two back options, one lets the user navigate back one level, the other lets the user navigate back two levels.
The main problem is that in the main screen no menu appears.
It doesn't depend on the content of the main view. Indeed if it is stripped down from the View still I do not have the menu, but I do not have the double toolbar either. } //body
What changes or checks can be done? I want the menu and a single toolbar.
I also tried commenting things and trying step by step additions but even the simplest case does not work.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
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
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
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
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.
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
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
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
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?
Hello,
My iOS SwiftUI is complete. I would like that someone perform some tests, like beta testers, but the app is not beta, it is going to be reviewed.
I just need some feedback and brief videos of some of its features.
I am wondering if it is possible to find some Testflight testers here.
I saw some posts from people asking for a Testflight code.
I am new here, this is my first iOS app, so I do not fully understand what those posts mean. Maybe they are eager to perform some tests on a new app out of curiosity.
What if I created a public Testflight link and propose it on this forum?
Would be someone respond? Would I find some testers?
I never used Testflight so I do not know if am able to create the public link.
If yes should I publish some instructions? Because I do not know if the instructions in the Testflight section are visible to testers.
Or are there more suitable official places for finding Testflight testers? Can you please tell me?
Thanks in advance
Best regards
Hello,
I published an iOS (14.1+) app on the App Store. At present time it is free for download (see the link on my profile). It's mainly for people using public transportation.
I would like to create the companion watch app.
I am just starting to work on it but the code is already done, I just have to put it together.
The main issue seems to be that the WKWebView functionality the iOS app has to display a special list, is not available WatchOS, so the watch app cannot be created.
Is that true, or just I did not understand?
XCode is complaining about the WebKit not being available when building for the WatchOS simulator.
I could use a normal list but the user experience would be different.
I cannot find relevant information anywhere.
I am developing with SwiftUI and I used the WKWebView inside a UIViewRepresentable on iOS.
Please can anyone tell me something on this subject?
Thanks in advance
My app is published on the AppStore.
It is full featured, but now I am going to publish a simplified version that is sort of a lite version of the app.
The two apps are related, the full version being able to create content and a special kind of file to be exported, that the lite version can import.
The complete version has authoring features and is free at present time but it is going to be paid.
The lite version is free, and it is intended for being able to provide a service to customers or other people who do not have to buy the full version.
The name of the two apps are sort of
myapp
myapp lite
The app icons have some recognizable graphics in common.
My question is about the promotional text and the description.
I would like to know if
it is possible to make explicit reference to the main app in the promotional text and in the description
It is possible to include also a suitable description of the main app in the description
Thanks in advance
Hello,
let's say that at a certain point I have two published apps on the App Store.
One is the main iOS application, that is a paid app, and the other is a limited version of the main one, like a "lite" version.
Let's say that they are both published because the lite version was accepted by the reviewers (indeed it is what should happen).
The lite version is a complimentary app that can be used for just using the main functions when some third party provided you the content.
But some users could be interested in having the complete version to be able to author or edit the content themselves.
I would like to know if it is acceptable that in the "lite" app
-there is a button clearly pointing to the App Store page of the main app
-a menu entry
-a hyper-link in the guide.
-other options
Thanks
Topic:
App Store Distribution & Marketing
SubTopic:
General
Tags:
App Review
App Store
iOS
Business Models
I found this link
https://forums.developer.apple.com/community/distribution/testflight
In another thread about finding TestFlight codes.
The link above is not going to help me to find that forum, it does not exist.
I am looking for some eager people to preview my app.
I can invite a certain number of people to test or just preview my app (please have a look at https://app.airport.community/app/recvJ7w97YTBKvv64 to contact me)
Otherwise, where is the TestFlight forum?
Regards
Hello,
I need to understand if this is feasible.
I need to open a local HTML file placed in the temporary folder of an iOS Swift app in Safari, from the app itself.
At present time I know it is possible to open an Url in Safari, but I am asking about
1- using the file:/// scheme (like Android does)
2- providing directly the HTML text
I have this specific need not to use the WKWebView because I want that the user can exploit features like saving credentials, caching and so on.
I do not know if the WKWebView is able to provide this kind of features, and I do not want to have this kind of features directly in my app for security concerns.
Also other workarounds or solutions are welcome.
Thanks in advance