我怎样才能将“......”参数传递给UIAlertView的“......”

时间:2015-05-07 04:03:00

标签: ios objective-c variadic-functions

这是控制台中的消息

- (instancetype)initWithTitle:(NSString *)title
                  message:(NSString *)message
        cancelButtonTitle:(NSString *)cancelButtonTitle
        otherButtonTitles:(NSString *)otherButtonTitles, ...
{
if (self = [super initWithTitle:title message:message
                       delegate:delegate
              cancelButtonTitle:cancelButtonTitle
              otherButtonTitles:XXXX]) {
}
return self;
}

1 个答案:

答案 0 :(得分:-1)

在超级调用之前插入此内容,并使用keys_cte作为ap变量参数参数。

...