iPhone 4 not displaying @2x TableViewRow leftImage
I've created two png images for the leftImage property of the Titanium.UI.TableViewRow, both properly named with the @2x version having the double size of the normal png.
When testing on the iPhone simulator, the correct @2x version loads (verified this by painting a red circle on that version of the png) but on the iPhone 4, the normal sized version is loaded no matter what I tried.
iPhone Simulator - http://gyazo.com/506e7ad741571bf7aad8c56d29d8ada5.png
iPhone 4 - http://gyazo.com/e845adf18dd51b893c57babb13bc845a.png
I've tried so far.
- leftImage as intended.
- creating a view, then an imageview which was added to the tableviewrow.
- tableviewrow background image just in case it worked.
I'm going to leave it for now since i've spent far too much time trying to fix it. If anyone has any idea what's going on here, it will be appreciated.
ps. toolbar @2x icons and Default.png @2x work perfectly.
3 Answers
-
Do you recall the thread location about this? I am having the same issue. The background image work around doesn't work for me?
-
I think I remember a bug about this, with the workaround being to use a background image instead of a normal image.
Try that to see if it helps…
Peter Janet
http://www.NewMediaOne.net
-
Going to settle for the low version of the image for the time being hoping this bug gets fixed in the next release of the SDK. There is no point in trying to use workarounds for something that should work as intended.