I'm trying to build an app to install a custom set of fonts for other ios apps to use. Is it possible to change iOS 6 default set of fonts and add a custom set of font that other apps can use?
Custom (non-system) fonts must be included in an app's .plist file and must be included in the application bundle for an app to use them.
Since application bundles are read only, it is only possible for an app to use a non-system font that is included before it is distributed.
No, it's not. Apps basically can't change default configuration (like fonts, background, colors, icons, animations) from the whole OS. You can use custom fonts in your app though.
Related
First of all, I know about ATSApplicationFontsPath property in Info.plist. But it adds custom fonts just for my application. And I want my app to install some fonts into the OS X during the first launch. That's because my app exports text and I have to make sure that user won't lose proper text formatting opening his file in some other app.
I saw this behavior in Final Draft app. It has custom fonts in its Resources folder. And its Info.plist has no ATSApplicationFontsPath property. But somehow after the first launch Final Draft installs those fonts into the system and uses them.
How is it possible? Didn't come any close to solve this.
You could copy the font files to ~/Library/Fonts or, with admin authentication, /Library/Fonts. You may also need to call CTFontManagerRegisterFontsForURLs() with kCTFontManagerScopeUser to make them immediately available to already-running apps (including your app which installs them).
I recommend that you ask permission from the user before installing anything "permanent" like this outside of your app.
I have links to fonts from where I can download fontName.ttf. Now When user selects a particular font I want to download that and install and use it for label.
Can I add row in Plist Fonts provided by application programatically?
And where should I save the fontName.ttf so application will use it.
Settings bundle resides inside your app's bundle, thus - you cannot change it at runtime, only at compile-time. So it is not possible.
You could check out different solutions:
Core Text fonts: Dynamic custom fonts loader in iOS
NSUserDefaults: Can i modify Root.plist in settings bundle dynamically?
Not possible you can't add and delete any thing from bundle at runtime.
Is there a way we can customize the iphone application name's font..
I downloaded a app from app store and it had a telephone image in the name ...
Application name: simple phone launcher
http://itunes.apple.com/us/app/simple-launcher-for-ipad-launch/id467950393?mt=8
Adding image:
No, it's not possible to change font of your application name.
I believe the answer to this question is no, there is no supported way to change the Springboard font for a particular application.
Even jailbroken phones which are running Springboard equivalents appear only to have the ability to change the font for the whole Springboard (ie, for all apps), not just a particular app.
Comments above seem to indicate that the app you suggest doesn't have a customized font or graphic. But I think you may have seen a name that included the Unicode telphone character: ☎
if i have a font that I made and use it in my app, will it uploaded with my binary etc and display when i run it on my iphone?
If it's in your bundle, it'll go with your app. Using it though is another story. The iPhone doesn't support custom fonts out of the box. You have to write a wrapper on UILabel or whatever to use it. That, or get an open source one.
If you want information on loading your custom fonts, check out this question: Can I embed a custom font in an iPhone application?
The ultimate answer is in the app bundle you build. Locate the bundle (it has file name extension "app") in the Finder, right-click it and select "Show Package Contents". Whatever is there gets into the IPA package distributed to your customers through the App Store.
With regard to fonts included in your app, see benwong's comment. You should add the font files to the Xcode project and add all the font names under the key UIAppFonts (aka "Fonts provided by application") to the Info.plist.
Is it possible to localize the app icon and Default.png files? Do I just drop them in the respective language folders or must I do something else?
As per my comment, there's an answer elsewhere, but you can read more in the Internationalizing Your Application section of the iPhone Application Programming Guide. There's an example of how to structure your language files in your app bundle, for example.
The correct answer is that it is not possible to localize the app icon.
An iOS application should be internationalized and have a
language.lproj folder for each language it supports. In addition to
providing localized versions of your application’s custom resources,
you can also localize your application icons and launch images by
placing files with the same name in your language-specific project
directories. Even if you provide localized versions, however, you
should always include a default version of these files at the
top-level of your application bundle. The default version is used in
situations where a specific localization is not available. For more
information about localized resources, see “Localized Resources in
Bundles.”
https://developer.apple.com/library/ios/#documentation/CoreFoundation/Conceptual/CFBundles/BundleTypes/BundleTypes.html
Apple docs update/change frequently. This is the correct link at this point in time. Also, I haven't actually tried localizing the app icon/default images, but Apple says it works so why not :-)
This same question appears numerous times on stackoverflow.