Community Questions & Answers
Change to Retina crashes?
Hello, I have an app and it works fine in normal size, but when I change the hardware to iPad or iphone Retina via the simulator it crashes the app with little to no feedback in the console? ~~~ [DEBUG] App Spec:...
Latest Studio: How to switch to retina sim
Hi I used to be able to switch back and forth between retina and non-retina simulator. After the latest update I can't. Whatever I set in xcode reverts back to Studio's preference. Where do I change setting for retina simulator in the new...
Density Pixels, differences between Android and iOS retina, please confirm
Hello, In my projects im working quite alot with density pixels. Sometimes however i have to do calculations with both dp and px. For this to work i found a function that converts dp units to pixels and vica verca...
Graphic List
Hi, is there a list somewhere of all the graphics extra naming conventions that I need to create for Apple, Android, BB, Windows etc.. I just want to make sure that I create all my graphics in one go rather than develop and create.
Detect Retina?
Hey, ist there any option to detect if the device is retina or not? platformwidth etc. always returns 320 pixel ... greetings, nico :)
screen shrink back to 320*480 on 4-inch Retina display
When I run my app on 4-inch Retina iPhone simulator, the screen shrinks back to 320*480, adding black blocks at the top and the bottom. On 4-inch Retina, I also tried running both **Hello World** app and the **TiBountyHunter** app. **Hello World** runs...
How to use the @2x images
Hello to all you guys! I would like to have some clarification about the images with **@2x** suffix. The images of the splash screen are three: **Default.png - Default@2x.png - Default-568h@2x.png** And in case the device is a device with retina display...
Saving image @2x using toImage()
What I want to do is save a screenshot of a view as a @2x png People have mentioned that there has been a fix https://jira.appcelerator.org/browse/TIMOB-4884 but it still doesn't work for me. I am thinking it might be easier to do this by cropping a...
iPad 3 Retina Splash Screen
Hi I'm trying to get my splash screen to look proper on the new iPad. Initially, when the app loads the splash screen looks like expected. However, after around two seconds, it seems like the retina-optimized splash screen is replaced by the...
backgroundImage retina display issue
This is not a question but a solution. If you use backgroundImage on iPhone and you have both normal and @2x images to display you can fix the double size image problem by changing lines around 426 (where you see the TiDimensionLayerContentCenter call) in...
ACS - Photos Retina / Non-Retina
I wonder if there is a strategy/design pattern in place for having retina & non-retina (1/2 size) strategy in displaying images from ACS in an iOS app for the older iPhones and the new Retina iPhones?
How do I reference iPhone 5-specific images? (Not the Default-568h@2x.png image)
I'm currently updating apps to support iPhone 5 and in places I have 100% height views with background images. These background images are called `welcomeSplash.png` and I have a retina version of `welcomeSplash@2x.png`. Can anyone tell me how to provide a...
Titanium ignores my @2x icon file when building the iPhone xcode project
The title pretty much says it all. I have supplied an appicon.png ( 57x57px ) and an appicon@2x (114x114px). The generated xcode project's Info.plist references both files, so that's good. But: Titanium **never copies** appicon@2x to the generated xcode...
Titanium Studio - Mac Book Pro Retina
Couple things I noticed after acquiring my new Mac Book Pro Retina: 1. The android emulator doesn't play nice with the new pixel density. This is outlined here (https://jira.appcelerator.org/browse/TIMOB-9892) and the best workaround is to use SetResX...
Retina tab icons don't work... :(
Hey ;) I have my tab icons in 2 resolutions (Normal and Retina), but how can I get to understand the iPhone Retina, that it has to use the tab icons with the bigger resolution? I tried to name the retina icons to "Icon@2x.png" - but nothing...
iPhone images & Android images seperation
I've seen that when building my Android app, also all the @2x images in the /images folder are also added to the package, even though these are not used by Android. That results in very big apk files. But when I put all the iOS images in the...
Coverflow unsharp images
Hi, I got pictures for Retina and standard Displays with abc.png and abc@2x.png. The problem is, that the Coverflow images look kind of unsharp. If I look at the picture on my Mac Preview it is much more sharper than the one on the iPhone. Any...
Really @2x needed? Why not double resolution for all the images?
I have just developed an ipad 3 (retina) App with lots of images (http://doctorcastello.com/fruits/). For each image I have included the normal resolution version and the @2x version, which makes the App very big. I am wondering (for my next iPad3 App...
@2x also images in webView?
I am currently developing an app for the new iPad 3 (retina screen). I will include all the images in both plain (standard resolution) and @2x version (x2 resolution). But I don´t know if this rule also applies for local webView images. So, will the...
My new App for iPad, proudly developed with Titanium, is now on the App Store
My last App for iPad (including iPad 3 retina), Visual Encyclopedia of Fruits, proudly developed with Appcelerator Titanium is now available at the App Store: [http://doctorcastello.com/fruits/] If anyone is willing to have a promo code, please let me...
Retina Display & imageView Dimensions
Ok, I have figured out how to handle the image.png and image@2x.png with no issues at all! It's tricky to understand the paths and how it work, and where to place the images..! but all is ok! my question now is this.. I have the following...
Retina images issues @2x.png
I have designed my application background (320x480), placed it at /Resources/src/images/iphone/background.png and it works great at the simulator. I have also created my retina image (640x960), and placed it at...
Graphics Issue (low priority but serious)
Hello everyone, I'm not sure if you are aware, but apparently if you submit an app (iOS) after 1st July, and your graphics are not optimized for Retina Display, the app will be rejected. How on earth do I optimize for Retina? The graphics i've used look...
ScreenShot in Retina Sizes
Hi all, I am trying to take a screen shot of my current screen.I have the screenshot working well, and it saves off as required. The problem is that when i take the saved image is in the size of the window resolution (ex.320X480). How to save in retina...
resolution..?
Hi, When designing an app for iPhone (3&4), how do you deal with the different resolutions (640x480 vs 960x640)? For example if I want to create a background for a window, what resolution do I set for this background? Thanks, Idan
[Beginner] View/Image position/size by screen resolution
Hi, (sorry for the english, i am french) i just have a little question about the positioning for my app. I want to place a view at 10px of the top of the screen. For an iPhone 3/3G/3GS, i will write : top:10, right ? But, how i have to manage this for the...
Blurry Text on a TextField...
I am developing an iPad application and I have a textField and a standard Label next to each other... For one reaosn or another, the textField text looks quite blurry compared to the label which is very crisp. I have read some stuff on Retina Display, but...
CoverFlow with high resolution URL (web) images
How do you tell the coverFlow component to display a web URL image as a hight resolution image? At the moment, when the code detects a iphone 4 or simulator it asks for the URL to high resolution images instead of medium resolution ones. However, both...
Retina Graphics for Repeated (Tiled) Backgrounds and Backgrounds with Caps (9 sliced)
I am working with the 2.0.1.GA2 SDK and have found that while most retina graphics (@2x) work fine, tiled backgrounds and backgrounds using caps do not. For tiled or Repeated Backgrounds, I have found that the retina image (@2x) is not scaled down to 1x...
Using a retina sized image as backgroundImage for view/window doesn't work
I am building an iPad app and want to support the new iPad's Retina display, but I can't seem to get it to work. I'm running on SDK v2.0.1.GA2 and OSX Lion with Xcode 4.3.2 (just incase it matters). I have a folder called *uiassets* in my Resources...
iPad Retina Splash screen file names
Found this great table: http://docs.appcelerator.com/titanium/2.0/index.html#!/guide/Icons_and_Splash_Screens-section-29004897_IconsandSplashScreens-iOSgraphicassetrequirementsandoptions on file naming conventions for all the iOS graphics requirements...
iPad Retina app icon
i have finished my app, but with the new iPad, i must include the icons acording to the new device. Does anyone knows the name and the resolutions of the icons ? Thanks in advance...
SDK 1.8.1 - remote image cache without retina display
Hi, I just noticed that the remote image cache does not show cached images with retina display. If the image is loaded the first time, everything looks good. But on second load (now from cache folder /Library/Caches) the graphic is pixelated, seems like...
Detecting (new) iPad (3) dpi and retina
Hi All, This is not a really question, is a share of my code changes to detect the new iPad with retina display on Titanium mobile (mobilesdk-2.0.0.v20120314154741). I change this 2 functions on TiUtils.m: ~~~ +(int) dpi { if ([TiUtils isIPad]) { ...
toImage() resolution
Hello! I have a view which dimensions are 250x250 px. I want to have an image of this view in it's native resolution, which is 500x500 because I am using a Retina display device. If I say view.toImage() the rendered image will not be retina sized. How can...
1.8.2 sdk and Ipad 3 Retina
Does Titanium sdk currently support iPad3 retina display? What about the last continuous build 2.0 ?
blob.imageAsThumbnail, how to make it works for both regular and retina screens?
Hi I made a gallery where the thumbnails are generated dynamically by: 1. loading the image in a imageView 2. creating a blob from the imageView 3. calling blob.imageAsThumbnail(thumbnailSize) My thumbnail size is 70 pixels. When looking on an iPhone 3G,...
Will splash screen dimensions for the new ipad be supported?
The new ipad has the retina display, as we all know. How do I have to add the splash screens to the iphone folder? Default-Landscape@2x.png and Default-Portrait@2x.png like for the iphone retina?
Retina Ipad - Images ?
Hey.. Does Titanum 1.8.2 support the Retina Ipad ? If so, what should i name my ipad images ? Just @2x.png for the hi-res images ? /Anders
New Apps in Apple AppStore
Hi all, Just wanted to let you all know, i have 2 new apps in the AppStore. #### iSunMoon [Show in iTunes](http://rs.gs/isunmoon) paid version #### iSunMoonFree [Show in iTunes](http://rs.gs/isunmoonfree) free version with banners Both apps do the...
Switching simulator to Retina display crashes simulator
I am trying to test the appearance of my app in the iphone simulator. In the run config, I have it set to iphone, sdk 4.3. I am using 1.6.2. It launches the regular simulator. If I go to the Hardware menu in the simulator and choose "iphone...
Retina and Layouts
Hello All, If I choose to ignore the iPhone's Retina display, can I simply code my app's views to 'traditional' iPhone screen resolution / item positioning and it should display OK on retina capable devices? Or am I obliged to put in extra code to deal...
Remote Retina
I've read lots of questions and followed the advice given but still having issues with this. I'm attempting to load two images from a remote server; however each image appears blurred and must be using the lower spec image. I have both the normal and @2x...
AppleScript to set the active device type when the iOS Simulator launches
If you frequently switch between device types in the iOS simulator, you probably find Titanium Studio's habit of shutting down the simulator when you select a different device particularly aggravating. Especially so when you discovered you have to run the...
Global window background image
I want to set a background image across all windows in my app. So in my app.js I do Ti.UI.setBackgroundImage( '/images/background.png' ); This works great on the simulator but when I deploy it on my iPhone 4 I just get a black background color. I have a...
Why won't the retina (or regular) image load in iPhone?
~~~ var imageView = Ti.UI.createImageView({ top: 0, left: 0, image: '../images/actionbar/actionbar_bg.png', height: 70, width: '100%', zIndex: 1000 }); ~~~ I get the no image icon when I run in iPhone. My folder structure is...
Using retina version of image for ipad
I have an universal iphone/ipad app and would like to load the @2x version of the image in the ipad version. Is this possible? Would be great so I wouldn't have to create a third version of the image just for ipad use. Trying to set image property of...
Where is iPhone (Retina) in 1.7
I only see choices for iPhone and iPad in the "Run As" menu. Where is iPhone (Retina)? If I try to switch to Retina in the simulator, it just closes on me. Shouldn't all 3 options be listed in the Run As menu?
Creating app images for Retina display
I mean images and icons WITHIN the app, not the splash screen or app icon. This I am able to do without a problem. (I searched for this, and the only results on QA I found were for very old SDKs and about the default.png and app icons) If I have an...
CoverFlow with high resolution URL (web) images
How do you tell the coverFlow component to display a web URL image as a hight resolution image? At the moment, when the code detects a iphone 4 or simulator it asks for the URL to high resolution images instead of medium resolution ones. However, both...
Showing 1-50 of 68 1 2