最新的iPhone 4出现图像显示问题
|
较旧的3GS或iPod 4可以显示最终的温度图像,但是在iPhone 4上,我看不到屏幕上显示的温度视图。
我逐步完成了它,获取了imageData,分配的tempimage,分配的tempview,但是最终的tempview没有显示。
-(void) display:(NSData*) imageData
{
tempimage= [[[UIImage alloc] initWithData:imageData] autorelease];
tempview=[[[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 320, 480)] autorelease];
if (tempimage) {
[tempview setImage:tempimage];
[self.view addSubview:tempview];
}
没有找到相关结果
已邀请:
1 个回复
峨躬坎抬焚