2010-11-15 37 views

回答

1

你将不得不以编程方式设置图像,我不认为有一种方法可以从Interface Builder中完成。这里是如何获得你的图标的[email protected]

NSString *imagePath = [[NSBundle mainBundle] 
      pathForResource: @"[email protected]" ofType:@"png"];  
    UIImage *imgGun2x = [UIImage imageWithContentsOfFile:imagePath];  
相关问题