-1
alertView =[[TSAlertView alloc] initWithTitle:@"ALERT" 
message:@"Please select type" delegate:self 
cancelButtonTitle:@"OK" otherButtonTitles:nil];

这在 中运行良好,但在 我委托给时iOS 6崩溃,然后它就起作用了。我想问题可能是自我被解除的时间警报解除分配。我的疑问是为什么 delegate:self 工作以及为什么它崩溃了?iOS 7niliOS 6iOS 7

谁能帮我解决这个问题

4

1 回答 1

3

TSAlertView 现在更新为在 IOS 7 中工作。他们添加了 customSubview 属性。所以请从这里更新最新的代码:

TSAlertView

于 2013-10-10T06:26:46.203 回答