I am currently developing a Phonegap app and I cannot get any fontawesome icons to show up on the device.
They show up in testing on my desktop but once I go to the device, there are no icons. They don't show up as the squares either, just nothing at all. I am including the fontawesome.css file in my index.css file, is there something more I have to do for Phonegap and fontawesome?
You need to include the font file in your app bundle, as shown in this screen shot:
Drag the font file into the Project Navigator on the left, and then edit your Info.plist to give the name of the font file. You will then be able to refer to the font in your app's code.
Related
I am getting an application icon error I have put all the icon images but I am still getting an error in it saying The app icon set named "App Icon" did not have any application content
What can be done to solve this issue.
You can Generate App iOS and Android Icons of all sizes with a single click.
Personally I use https://makeappicon.com/ website to generate app icons.
Then go to xcassets file and place the icons in proper places.
I've looked at other questions with the same issue and did what was suggested in them but keep getting the same error.
I've dragged 120x120 file into my project, cleaned, built, archived, same error.
I've dragged 120x120 file into the asset catalog manually, cleaned, built, archived, same error.
Here's a pic of my asset appicon:
There is no drag and drop for 120x120. Where am I suppose to add it?
Thanks
Dont drag images in asset.
Go to this link - https://makeappicon.com
Upload your 1024 image, it will email you the icons for iOS and Android as well.
Just copy and paste AppIcon.appiconset file into bundle.
You probably have already solved this, but I'd like to share an observation about this topic as I'm currently struggling with the same problem.
When you generate an app icon set with tools like makeappicon.com, chances are that not all possible icon variants are created. For example, old icon sizes (for iOS 5/6) are probably not produced.
In Xcode's assets editor (at least in Xcode 8.2.1) you only see the slots for which an icon is provided; for me this led to the misinterpretation that all possible icons are present. However, if you manually add an empty icon set in Xcode ("+" -> "New iOS App Icon"), you will see that there are more possible slots then are filled by the icon tool.
In my case the problem was that the deployment target was set to iOS6, but some icons required for iOS6 were not included in the icon set; so I created a new, empty icon set, manually dragged in the files which were created by my icon tool, and then created the missing icons by hand.
I've purchased a Font (UniversLTStd) and included the .ttf file in my application.
I can see the font name in my Info.plist file.
When I click on a UILabel in Interface Builder and attempt to select this font, it's not there. Am I missing something?
Xcode: Version 7.1
To see font enlisted from InterfaceBuilder you should install it in you operation system.
Open ttf file with Fonts app and click install. Basically, just double click it - it will use Fonts.app as default to open in. In the right-lower corner you'll find, what you need
So I have imported the correct sized icons for my app into xCode, and it compiles fine, but when I build and run, I don't see the app icon on my iPhone, it just shows the default 'no icon' icon.
http://prntscr.com/3r99xs - Everything is in there correctly
http://prntscr.com/3r9au6 - What I'm seeing
Can someone please tell me what I'm doing wrong on my end?
Are you linking to the assets folder in your target's general settings? See this link: Image Catalogs for Xcode
You'll want to make sure under your Target's Settings (General Tab) that the App Icons are set to use an Asset Catalog, and the correct asset is selected.
This should work on Xcode 5 or 6. Click on the project in XCode go to Info which will show you the plist properties.
Create a new line and start typing Icon files . It should autocomplete for you but this is exactly the name of it. It is an Array. Under it add the names of your icon files. You probably have multiple ones. Add them here and they will show up for you. Make sure the image files are added to the project or this wont work.
I use Qt sdk (https://www.qt.io/blog/2013/03/05/qt-for-ios-preview) to write an iPhone app.
I can't figure out how to set the application icon.
I drag and dropped a 57*57 png file named Icon.png in the Xcode target->summary->App icon but nothing seems to happened. Same is for Launch images.
Do someone achieve to set the app icon using Xcode project generated by qmake?
I had to put
QMAKE_BUNDLE_DATA += icons
in the pro file.
https://bugreports.qt-project.org/browse/QTBUG-34624
Your Code Snippet did not work for me.