我有一个这样的 UIBarButton。我的应用程序会被拒绝吗?UIBarbutton 的像素要求是什么?40x40?我似乎无法在任何地方找到此信息。
UIButton *btnPost = [UIButton buttonWithType:UIButtonTypeCustom];
btnPost.frame=CGRectMake(0, 0, 60, 40);
[btnPost setBackgroundColor:[UIColor darkRedColor]];
[btnPost.titleLabel setFont:[UIFont fontWithName:@"HelveticaNeue-Bold" size:12]];
[btnPost setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
[btnPost makeGlossy];
[btnPost setTitle:@"Post" forState:UIControlStateNormal];
[btnPost addTarget:self action:@selector(Click_ON_Btn_Post) forControlEvents:UIControlEventTouchUpInside];
UIBarButtonItem *postBarItem = [[UIBarButtonItem alloc] initWithCustomView:btnPost];
self.navigationItem.rightBarButtonItem = postBarItem;