TTImageView not working

Posted by Ajay Sawant on Stack Overflow See other posts from Stack Overflow or by Ajay Sawant
Published on 2010-03-25T08:23:08Z Indexed on 2010/03/25 8:23 UTC
Read the original article Hit count: 611

Filed under:

Guys,

I am new to IPhone and using following code to render the image from remote server using TTImageView from Three20 framework with the help of following code

  TTImageView* imageView = [[[TTImageView alloc] initWithFrame:CGRectMake(30, 30, 0, 0)] autorelease];

  //Working OK
  //imageView.urlPath = @"http://prosares.co.cc/Images/background.jpg";

  //No Working
  imageView.urlPath = @"http://prosares.co.cc/Images/backgroundTest.jpg"; 

  [self.view addSubview:imageView];

As shown above if I am trying to load background.jpg it's getting loaded correctly but for some reason backgroundTest.jpg is not loading at all.

the only diffrance in these images are the size, is there any restriction on the image size that I can load in TTImageView ?

Can someone please help me to debug this issue?

Thanks Ajay Sawant

© Stack Overflow or respective owner

Related posts about iphone