我正在为视网膜和非视网膜显示创建宽度为 30 的像素大小按钮图像。这看起来不错的样子。我在 stackoverflow 中读到视网膜的像素要求至少为 40x40,这看起来太大了。像素大小为 30 会导致应用被拒绝吗?
UIButton *btnBack = [UIButton buttonWithType:UIButtonTypeCustom];
[btnBack setImage:backImage forState:UIControlStateNormal];
btnBack.frame = CGRectMake(0, 0, backImage.size.width, backImage.size.height);
[btnBack addTarget:self action:@selector(Click_On_Btn_Back) forControlEvents:UIControlEventTouchUpInside];
UIBarButtonItem *backBarItem = [[UIBarButtonItem alloc] initWithCustomView:btnBack];
self.navigationItem.leftBarButtonItem = backBarItem;
[btnFollow setImage:followImage forState:UIControlStateNormal];
btnFollow.frame=CGRectMake(followBtnXOffset,currentHeight+followBtnYOffset,followImage.size.width,followImage.size.height);