一,效果图。
二,代码。
//点击任何处,弹出提示选项
-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{
UIAlertView * alert=[[UIAlertView alloc] initWithTitle:@"推荐给好友" message:nil delegate:self cancelButtonTitle:nil otherButtonTitles:@"Gmail",@"UC浏览器(乐园)",@"蓝牙",@"信息", nil];
[alert show];
}