Appstore icon glossy effect? - ios

I know that in order to disable any gloss effect on my icon, on the device and on the Appstore (512x512), I have to set in my Info.plist file:
Icon already includes glossary effect: YES
But I have read here, that there is something called : UIPrerenderedIcon that i couldn't find.
Is the first boolean in the plist file which I mentioned above good enough or do I need both?

UIPrerenderedIcon and Icon already includes glossary effect are one and the same. The Icon already includes glossary effect is the readable representation of UIPrerenderedIcon by the Plist editor included in XCode.
To know for sure, right click on you plist file > Open As > Source Code and you'll see the names of all the values set. Amongst them you'll find UIPrerenderedIcon.

Setting YES on UIPrerenderedIcon should disable the gloss effect on your icon.

Related

ios "Copy to myApp" in activity view

i'm working on developing share extension.
I add NSExtensionActivationRule in info.plist. and my app appear on activity view when it match file type.
But in some app(not for all) trying to share image (ex. google drive..) this (Copy to *) icon has already on the activity view before i start develop. so i have two my app icon on activity view/ first one i created, second already in it.
i try to make a change in plist reomve another attributes, but none of them working correctly
i want to disappear "Copy to MyApp" let me know someone knows about this.
Finally after long research and test i found solution~!!!
there is "Document types" key in info.plist in project.
My Project has been set All files supports so I delete this property .
Now that Save to MyApp icon disappear in UIActivityViewController.

How to change the displayed title of a soft keyboard in iOS?

Here's how my soft keyboard's title is currently displayed among the keyboard choices in iOS:
I'd prefer for it to be displayed like the Gboard example above it, simply as "ASETNIOP" on the top line and "Multiple languages" below, as shown in the mockup here:
I can change the lowercased prefix if I modify the extension's "Display Name" in Target->General->Identity, but I can't eliminate it (or the associated dash) entirely:
And (although I don't actually need to do this) it doesn't look like it's possible to change the main application's Display Name at all - it's grayed out:
Can anyone let me know where I need to go to make these changes, and where I need to go to change the Language designation as well?
For multi language, open your info.plist as source code of extension part.
Then find
<key>PrimaryLanguage</key>
<string>en-US</string>
replace with
<key>PrimaryLanguage</key>
<string>mul</string>
The name of the keyboard application extension (or appex) iOS displays in the menu under "Globe" button is taken from the Keyboard appex's metadata. In your case this is asentitop target. So, check/apply the following for this target:
Go to the target's Info.plist and change the following keys.
<key>CFBundleDisplayName</key>
<string>ASETNIOP</string>
<key>CFBundleName</key>
<string>ASETNIOP</string>
Advanced setup would employ localization for your custom keyboard extension display name.
Go to your Xcode project and select your keyboard extension target
Go to General tab and set Display Name to ${PRODUCT_NAME}
Go to Info tab and set CFBundleName to ${PRODUCT_NAME}
Make sure CFBundleDisplayName is set to ${PRODUCT_NAME}
Now, this setup allows you to set the Keyboard appex's name from a single place -- Build Settings tab
Go to Build Settings tab and search for PRODUCT_NAME. Edit Product Name to be ASETNIOP
Localize Info.plist and add these keys to respective localizations:
"CFBundleDisplayName" ="ASETNIOP";
"CFBundleName" = "ASETNIOP";

Xcode Deployment Info and icons using CMake

I've tried looking for info on how to set these (in red) using CMake but have had no luck so far:
1st red box issue:
First of all, even though the device seems like it's been set to 'Universal' correctly, the value isn't being interpreted correctly by Xcode. When I set it to 'Universal' manually using the dropdown, it gives a tab each for iPhone and iPad. Furthermore, I know it's not being interpreted correctly as the app does not function correctly (in my case, neither the launch image nor the app itself run full screen).
I don't think setting orientation programmatically is an option for me since I need the launch image in the correct orientation as well.
So can't do something like this:
How do I programmatically set device orientation in iOS7?
2nd red box issue:
I use an asset file for all my icons, so at the moment I'm having to build using CMake and then press 'Use Asset Catalog' each time.
I found this but doesn't seem very useful:
http://cmake.3232098.n2.nabble.com/Icon-and-Launch-image-support-for-iOS-apps-td7590970.html
Regarding the "1st box issue", I've found that the approach taken by this demo project works really well.
https://github.com/forexample/testapp/blob/master/CMakeLists.txt
They use a templated Info.plist to inject the bundle identifier, etc, during configure. The nice part is then you can modify the orientations in the plist.in file, and then these get translated cleanly to the Info.plist once you open the project.
Regarding the 2nd red box issue, i found that the attribute I needed to set was XCODE_ATTRIBUTE_ASSETCATALOG_COMPILER_APPICON_NAME
For example:
set_target_properties(${TARGET} PROPERTIES
XCODE_ATTRIBUTE_ASSETCATALOG_COMPILER_APPICON_NAME "AppIcon")
For Launch Images I got it to work by setting it in the plist.in file under UILaunchStoryboardName as described in yano's previous answer.

How do I rename my keyboard extension?

I'm working on a custom iOS keyboard, and I've managed to rename my project. But the actual keyboard itself still appears to be the previous name. How do I solve this?
You need to change the Bundle Display Name (CFBundleDisplayName) in your Info.plist file for that extension.
If your keyboard extension is called "XYZ Keyboard," it would be located in the "Supporting Files" folder in the "XYZ Keyboard" folder.
You'd change this key:
If it's not there, you can add it by clicking the plus icon that appears when you hover over "Information Property List" and beginning to type "Bundle Display Name" (it should autocomplete). It may also appear as CFBundleDisplayName if you have Raw Keys/Values turned on.
You can change the name of your keyboard by changing the Bundle display name string in the Info.plist in your keyboard extension folder> supporting files>Info.plist>Bundle display name.
In reply to your comment, the keyboards names display as "HostAppName - KeyboardName", make sure the Bundle dislay name in both the host app's Info.plist and the keyboard extension's Info.plist are both what you want (see sidebar in screenshot, both info.plists need updating).

xcode 6 iOS launchScreen.xib localization issue

In my app I have three languages. The launchScreen.xib has three localzations too.
Like the localizable.strings I changed the text that should be used by the Object-ID.
When launching the App there is always the english text used, not the localized. And there is a "X" int he symbol of the LaunchScreen.xib and LaunchScreen.xib (Base). Why? How can I solve that issue?
The correct answer to specifically localizing the launch screen is here:
Localization of Default.png is not working
And for shortcutting I'll paste the main steps:
Create InfoPlist.strings file. (File,New,Resource,Strings)
Localize it and add the key "UILaunchStoryboardName" with the value being the name of the xib you want to be shown as the launchscreen for that localisation.
For e.g. for the Spanish version, add your launch screen key and name for the Spanish version of your Launch screen in the newly created InfoPlist.strings localized for spanish.
"UILaunchStoryboardName" = "Launch_es";
As Apple's document, launchscreen will never locale your text:
"Avoid including text on your launch screen. Because launch screens
are static, any displayed text won’t be localized."
https://developer.apple.com/ios/human-interface-guidelines/graphics/launch-screen/
I would like to give clear description of fix according to previous info.
I got the same issue and couldn't find clear description. I have Xcode 8.2.1 and Swift 3.0 now.
Finally:
I copied LaunchScreen.storyboard and added it to project with name Launch_ru.storyboard. After I did localization of Launch_ru.storyboard.
Next need to choose it and add Base Localization.
Next need to add to added during main localization file InfoPList.string key "UILaunchStoryboardName" = "Launch_ru";
where Launch_ru is name of my new Launch_ru.storyboard.
These three actions fixed my issue.
Fawkes' answer is the right one:
Create InfoPlist.strings file. (File,New,Resource,Strings)
Localize it and add the key "UILaunchStoryboardName" with the value being the name of the xib you want to be shown as the launchscreen for that localisation.
One thing to note is that, all the launch screen storyboards that you'll end up having need to be barked as "Base localization" in the Files Inspector:
If you accidentally mark them as a localization for a different language, it will not work (it will just display a black screen!)
I had same issue, after that i used MCLocalization it is very easy to integrate in your app. It worked perfectly for me

Resources