ios-fontawesome
ios-fontawesome copied to clipboard
Battery 0..4 are rendered truncated
Hi there, this package is awesome (yes!) and saving us a lot of time, but I am running is something that is either an issue or something I cannot understand.
When doing
let batteryIcon = UIImage.fontAwesomeIconWithName(.Battery0, textColor: UIColor.whiteColor(), size: CGSizeMake(12, 12))
I do get a 12 x 12 image but the battery image fills the space vertically and hence the right part is truncated (as the shape has a larger width).
I tries with ArrowsH that is has a larger width as well and it scales correctly (the icon does not fill the height)
Any idea where it might come from ?
Many thanks in advance.
I noticed that the icons are actually rendered OK on my iPad. Is it a Retina / non Retina issue ?
Ok, after further investigations it seems that it is rather related to the OS version.
Within the simulator, it works with a iPad Air 8.4, but breaks on an iPad Air 9.0.
Hope this helps, JM