不要用[UIImage imageNamed:@"a.png"].
用 [UIImage imageWithContentsOfFile:[[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:@"a.png"]];
不要用[UIImage imageNamed:@"a.png"].
用 [UIImage imageWithContentsOfFile:[[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:@"a.png"]];