I want to change the name of my app only as it appears on the user's home screen. The old app name can remain in place on the App Store, in iTunes Connect, in Xcode, wherever else. I want to make this change only for certain users. When the code determines conditions are met, the user's app name should change. Is it possible to do this and if so, how?
EDIT:
To clarify my reason, this is for a game where a "deep secret" of the game would be hinted at by the game's title. I want to hide the hint by using an acronym for the title until the player has revealed the secret in-game. At which point I would change the app's title to reveal the full game title.
Afaik you can only change the display name in your ...-Info.plist file. However, you can have different display names for your app by localising that file, but that would only give you different names based on the language, not the user.
For more Information see Updating the display name of your app
What you can do:
Option 1: Setup different schemes for each user environments and compile one app for each possible type of user
Option 2: Create an app internal home screen and let the user select the more specific app there
Option 3: Don't change the display name, but change the color schemes and logos in the app (I have seen this in some apps)
Related
we are currently in the process of linking our web portal to our native app (iOS). In the first step, we will try to implement some Deeplinks.
Therefore it is planned to host the "apple app site association file" on the domain (e.g portal.example.com) and provide deeplinks with the help of Universal Links. However, before we start the implementation, there are some questions left:
Let's say we have only 3 URLs that should deeplink to the app. Each of them will get an own row in the paths section:
portal.example.com/functions/firstfunction
portal.example.com/functions/secondfunction
portal.example.com/functions/thirdfunction
If the User now opens the first URL, he will be asked if he wants to open it in the app, right? Let's pretend the user accepts and opens the URL in the app. What happens if he then goes back to the portal and tries to open the second URL? Will he be asked again, or will the app remember the decision and open any URL from the aasa file in the app?
What happens if we use wildcards and write the path like this:
"portal.example.com/functions/*"
Thank you and bg!
Let me first correct you:
If you use 'universal links', and you open any url, then it will not first ask you that "open in app" and then if denies then to webpage.
But it will be work in this manner:
You must be opening URL in iOS device's safari browser(it will not work for other browsers).
It will first open the webpage. If it finds 'apple-app-site-association' file on that website + It also finds the app with same path in its associated domains section installed on device. Then it will show top bar like below image:
Now, if use clicks on this OPEN button, then only your app is going to be opened. If you come back from app to website, this will remain as it is on top.
Answer to your second question: If you provide only specific domains, then the above popup will be visible only for specific webpages. If you are using wildcards, then all webpages which comes under that wild card, will have top bar like above image.
One more thing to note while you are developing above feature: Universal links get associated while you install the app OR update to new version. So, while developing app - let you have installed app without any associated domains, now you added associated domains in app, and installed app again(via xcode) on your device, and open the webpage in safari. Then above will not work. To make it work, either you have to remove/uninstall the app first and then install it again OR you have to change the version.
I have recently started to use FireBase to see how it works, as a possible replacement (at least in some cases) for Parse.com.
Here I have a few questions related to that.
1) I noticed from start that an app was automatically built for me. Am I allowed to change its name?
2) I now would like to create a second app. Is that possible or do I need to upgrade my account? Or how do I do? I can see no place in the dashboard for that purpose.
Thanks in advance for any useful indication.
To answer your questions:
You can change the name but not the url of you app. In your dashboard click on the cogwheel next to the name of your app, in the menu that pops up there is an option to change the name.
You can create a second app by simply filling in a name in the gray field on the left and click "CREATE NEW APP"
I'm totally new in iOS development. I'm developing an app processing some strings in UItextview. After the process, I want show "Open In.." menu with all applications can receive text values.
To explain more. What I mean is like this in Android http://developer.android.com/training/sharing/send.html
I took a quick look at the link you posted.
Apple enforces a "sandbox" around apps which greatly limits what you can do.
Off the top of my head here are a few ways to do it:
Define a custom URL scheme in each of your apps. One app would open a URL using the other app's URL scheme, and that would open the other app and pass it the URL.
For a family of apps from the same company you should also be able to set up a common base "bundle ID" and use that to read and write shared entries to the keychain. The keychain is limited to fairly short bits of data however. (It's intended for password strings and the like.)
I haven't used it before, but you should also be able to use the UIDocumentInteractionController class to pass a copy of a document between apps. As I understand it, the sending app presents a document and asks the user to pick an app with which to open the document. When the user picks a target app, the system creates a copy of the document in the target app's documents directory and then tells the target app to open it.
Perhaps it is a silly question but I want to be sure about it.
I am developing an app which uses a pulsometer and I am interested in letting the user set the pulsometer which is going to be used in the app (each pulsometer has an unique ID).
As the pulsometer identifier is something that will be hardlyever changed (but it could be changed) Settings App would be the right place to manage that info.
I know I can use NSUserDefaults in a dictionary way to store values, but I don't want the user manually write the identifier code of the sensor in the Settings App. I want to detect the sensor from the app. I know how do that in my App, but is there any way to do it in the Settings App?
I think it is not possible because it requires including code for executing in the Settings App, but I don't know if it is a way to do it ("linking" the userdefaults with that code or something like that).
For example, the Nike + iPod App lets you detect the sensor in the way I want in the Settings App.
Can anybody confirm that it is not possible (of course, without being Nike and making an agreement with Apple to have the option included in Settings App XD)?
You can set up options for your own app "Settings" pane by using display options based on the pulsometer as soon as you startup your application. Your app would have to detect it when running (and determine the range/steps). After that, the user could change a pulldown/stepper in the settings pane from your app. If I understand you correctly.
I know what code is needed to cause my iOS app to open a link in Safari. But I am looking at how I might accomplish something more in the reverse direction.
I can send email from my app. I would like to include a link in the email, that, when clicked on within the email on my iPhone or iPad, will open my app and perform an action based on the property values passed in the link. (The link would refer to a record in the database of my app, so the app can provide a view content based on that record.)
Another example I have seen is the special purpose URL used in the manifest file that loads ad hoc distributions over the air.
I see something like this when places and dates are automatically converted to links that open the map or calendar applications.
Does anyone have an idea how I can do this?
You need to implement a custom URL scheme.