【发布时间】:2011-05-27 11:15:11
【问题描述】:
目前我正在使用
...otherButtonTitles:@"Hotel Laguna", @"Hotel Village", @"Hotel Torre", @"Hotel Baia", nil];
创建一个UIActionSheet。
我想传递一个 NSArray... 类似:
NSArray *names = [[NSArray alloc]
initWithObjects:@"Hotel Laguna", @"Hotel Village", @"Hotel Torre", @"Hotel Baia", nil];
...otherButtonTitles:names];
这在某种程度上可能吗?
谢谢!
【问题讨论】: