Closed passol1988 closed 8 years ago
variable method can't be called dynamically. you can use like this:
local alert = UIAlertView:init();
alert:setTitle(title);
alert:setMessage("aaaa");
alert:setTitle("bbbb");
alert:setDelegate(self);
alert:addButtonWithTitle("cancel");
alert:addButtonWithTitle("ok");
alert:setTag(20147701);
alert:show();
otherButtonTitles can take multiple arguments, how can I pass the parameters?