欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

UIAlert的宏写法

程序员文章站 2022-07-15 16:41:53
...
#define SHOWALERT(meg) {UIAlertView *alert=[[[UIAlertView alloc]initWithTitle:nil message:meg delegate:nil cancelButtonTitle:@"取消" otherButtonTitles: nil,nil]autorelease];[alert show];}