[WARN] the 'url' property on ImageView has been deprecated
Getting this warning when running my project in the simulator. My code is below. Is this something I should worry about? And if so, how do I fix it? Sorry if this is an easy or silly question… :)
[WARN] the 'url' property on ImageView has been deprecated. Please use 'image' instead
scrollView.add(content7);
var imageView = Ti.UI.createImageView({
url:'../images/authorpics/clarkebig.png',
top: 10,
left:10,
height:120,
width:100
});
scrollView.add(imageView);
1 Answer
-
It was an obvious question! Just answered it myself. To all those who have the same warning, just replace "url" in the above example with "image"