1
以下のコードが実行されたとき、私は、これらのエラーを得た:connectionDidFinishLoadingのUIGraphicsBeginImageContextを使用することはできますか?
[Switching to process 74682 thread 0x2003]
[Switching to process 74682 thread 0x207]
[Switching to process 74682 thread 0x720f]
-
- (void)connectionDidFinishLoading:(NSURLConnection *)connection
{
UIImage = [[UIImage alloc] initWithData:self.resp_data;
CGSize itemSize = CGSizeMake(150);
UIGraphicsBeginImageContext(itemSize);
CGRect image_rect = CGRectMake(0.0,0.0,itemSize.width,itemSize.height);
[image drawInRect:image_rect];
self.image_view.image = UIGraphicsGetImageFromCurrentImageContext(); // image_view ivar is connected to a UIImageView in the View associated to this controller
self.resp_data = nil;
self.imageConnection = nil;
[image release];
}
問題とどのようにそれを解決するために何ができるか任意のアイデアを?助けるため(そしてもちろん、予想される画像は表示されません)
Thxを、
ステファン
thaqワークスvij ..... –
@Nag_iphoneようこそお友達。 http://chat.stackoverflow.com/rooms/682/conversation/do-u-want-instant-help-for-ur-question-or-ru-new-bee-to-iphone-ipad-develop –
thaq soそれは私もvij ..... .....あなたが電話を知っているlangを知るのを助ける –