【发布时间】:2011-01-08 17:10:41
【问题描述】:
我正在尝试设置我的图像:
detailedEventViewController.thumbnail.image = [UIImage imageNamed:@"amnesia.png"];
但图像视图显示为空白。 amnesia.png 在我的资源组中。文件存在。
我的日志结果:
2011-01-08 10:52:32.822 HD Pocket Vacations[25271:207] Image: <UIImage: 0x66203b0>
2011-01-08 10:52:32.823 HD Pocket Vacations[25271:207] dEVC: <DetailedEventViewController: 0x6628340>
2011-01-08 10:52:32.824 HD Pocket Vacations[25271:207] thumbnail: (null)
【问题讨论】:
-
拼写错误的两个标签,当你有自动完成时,需要做一些事情......
标签: iphone objective-c cocoa-touch uiimageview uiimage