Titanium JIRA Archive
Appcelerator Community (AC)

[AC-121] iOS: ImageView.image property not working properly for 'local' images

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionCannot Reproduce
Resolution Date2015-05-14T20:34:52.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsimageview, ios
ReporterIgor Kalashnikov
AssigneeRadamantis Torres-Lechuga
Created2015-05-09T07:28:51.000+0000
Updated2015-05-14T20:34:52.000+0000

Description

I've found problem with ImageView#image attribute on iOS (Android works fine) This code:
<ImageView image="/images/call_btn.png"/>
shows image stubs !https://pp.vk.me/c625823/v625823842/30a41/fqhPXEwWTBg.jpg|height=200! but
<ImageView image="http://url_to_image.com/image.jpg"/>
works fine and
<View backgroundImage="/images/call_btn.png" />
works fine

Attachments

FileDateSize
jira_ios_img_2.jpg2015-05-09T07:27:23.000+000088900

Comments

  1. Igor Kalashnikov 2015-05-09

  2. Eric Wieber 2015-05-12

    I am unable to reproduce this, using: MacOS 10.10.3 Studio 4.0.0.201505120319 Ti SDK 4.0.0.v20150511112612 Appc NPM 0.3.55 Appc CLI 0.2.282 Ti CLI 4.0.0-beta8 Alloy 1.6.0-beta4 Node v0.10.37 Java 1.7.0_45 With an Alloy app and the below index.xml, on Simulator, iOS 8.3.
       <Alloy>
       	<Window class="container">
       		<ImageView top="40dp" borderColor="black" image="/appicon-Small.png"/>
       		<ImageView top="100dp" borderColor="black" image="/images/appicon-Small.png"/>
       		<Label id="label" onClick="doClick">Hello, World</Label>
       	</Window>
       </Alloy>
       
    Both images display correctly.
  3. Igor Kalashnikov 2015-05-13

    Hello, it was Ti. 4.0.0.RC2 SDK, as I remember, when I catched this issue I've checked just now, everthing allright. Sorry for bothering. :(
  4. Eric Merriman 2015-05-14

    [~zo0m] No problem. Thanks for updating us.

JSON Source