将图像添加到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 个回复
呢率篓舍烫