我是 iphone 的初学者,在我的代码中由于未捕获的异常“NSInvalidArgumentException”而出现终止应用程序的运行时错误,原因:“-[__NSCFString _isResizable]:无法识别的选择器发送到实例 0x6e6e300”
我的代码是
- (void)viewDidLoad
{
    [super viewDidLoad];
     NSString *path=[[NSBundle mainBundle] pathForResource:@"Animalfile" ofType:@"plist"];
    NSDictionary *dict=[NSDictionary dictionaryWithContentsOfFile:path];
    NSArray *animal=[dict valueForKey:@"image"];
    NSLog(@"print:%@",dict);
    NSLog(@"hello:%@",animal);
    UIImage *img=[animal objectAtIndex:currentImage];
        [animalphoto setImage:img];
}
给出适用于我的代码的任何建议和源代码......