取消导航栏渲染问题--适应各种渲染问题

// 设置导航栏右侧按钮
    UIImage *image = [UIImage imageNamed:@"redo.png"];
    // 取消渲染
    image = [image
imageWithRenderingMode : UIImageRenderingModeAlwaysOriginal ];

    self.navigationItem.rightBarButtonItem = [[[UIBarButtonItem alloc]initWithImage:image style: UIBarButtonItemStylePlain target:self action:@selector(rightButtonAction:)]autorelease];

你可能感兴趣的:(取消导航栏渲染问题--适应各种渲染问题)