如何编码目标c中的提醒消息。 Xcode如果用户在应用程序中选择了错误的颜色。如何发送提醒
Q
如何发送提醒
0
A
回答
0
这听起来像你正在寻找UIAlertView
。
2
的Apple Documentation是一件美妙的事情:-)
1
您将要使用UIAlertView类。这里有一个例子:
UIAlertView *alert = [[UIAlertView alloc]
initWithTitle: @"Wrong Color"
message: @"You chose the wrong color."
delegate: nil
cancelButtonTitle:@"OK"
otherButtonTitles:nil];
[alert show];
[alert release];
1
下面是一个例子:
UIAlertView *alert = [[UIAlertView alloc]
initWithTitle: @"Announcement"
message: @"You chose the wrong color!"
delegate: nil
cancelButtonTitle:@"OK"
otherButtonTitles:nil];
[alert show];
[alert release];
相关问题
- 1. 发送电子邮件提醒与ASP.NET
- 2. asp.net会员不发送登录提醒
- 3. 程序发送邮件提醒
- 4. 附加提醒后发送两次OnSend
- 5. 如何提醒
- 6. 如何在机器人框架中发送提醒
- 7. 如何从代码发送电子邮件提醒
- 8. 如何在不同条件下发送电子邮件提醒?
- 9. 如何在Chrome扩展中发送提醒?
- 10. 如何在数据库更新时发送提醒
- 11. 如何发送提醒并刷新页面?
- 12. Google App Engine - 如何处理向用户发送提醒?
- 13. 如何提示提醒?
- 14. 如果用户未登录,则发送提醒消息
- 15. 发货日期前一天发送提醒
- 16. JavaScript提醒不会触发
- 17. 如何发送和提取
- 18. 如何,提醒完整
- 19. 如何提醒使用jQuery
- 20. 如何设置提醒?
- 21. 如何通过短信从sql server发送事件提醒短信?
- 22. 如何在Google Dataproc中发送失败作业的提醒通知?
- 23. 如何在iPhone日历上创建提醒和商店提醒
- 24. 如何通过WP7芒果中的PeriodicTask提醒提醒?
- 25. Laravel发送生日提醒电子邮件使用邮件
- 26. 发送特定位置的电子邮件提醒
- 27. 发送提醒给Splunk中的可配置组
- 28. 1天后自动发送电子邮件提醒
- 29. 根据日期发送提醒电子邮件
- 30. 需要发送短信提醒15分钟任命
我想赞成票这个不止一次 – vikingosegundo 2011-03-29 22:47:56
让我来帮助。 :-) – 2011-03-30 01:50:36