将图像添加到UIActionSheet UIButton并获得App批准

|| 我想提交一个iPhone应用程序,并且我担心下面的代码行将图像添加到UIActionSheet按钮:
UIActionSheet *actionSheet = [[UIActionSheet alloc] initWithTitle:@\"\"
                                                         delegate:self
                                                cancelButtonTitle:nil
                                           destructiveButtonTitle:nil
                                                otherButtonTitles:nil];
[actionSheet addButtonWithTitle:@\"Button\"];

[[[action valueForKey:@\"_buttons\"] objectAtIndex:0] setImage:[UIImage imageNamed:@\"yourImage.png\"] forState:UIControlStateNormal];
这会损害任何Apple应用程序归集规则吗?合法吗请告诉我是否。 谢谢。     
已邀请:
        这是不合法的,因为ѭ1不是公共API。 (不过,我要说的是,由于您使用的是KVC,它将通过Apple的审查,他们无法知道这是私人电话。不过,请放心使用,不要使用它!)     

要回复问题请先登录注册