简体   繁体   English

在Cocoa Touch中添加自定义弹出窗口

[英]Adding a custom pop-up in Cocoa Touch

Im trying to add a custom pop-up, I dont want to use the Alertview class, I want to make a personalized pop-up, with only two buttons, ok and cancel, and to capture those events to use them later. 我试图添加一个自定义弹出窗口,我不想使用Alertview类,我想制作一个个性化的弹出窗口,只有两个按钮(确定和取消),并捕获这些事件以供以后使用。

Im new to objective-c, what is the best approach to do this? 对Objective-C来说,这是新手,什么是最好的方法? (a working example would be better than nice) (一个有效的例子总比好)

Thx.- 谢谢。-

Here are a few examples with projects: 以下是一些项目示例:

CustomAlert CustomAlert

Another SO Question 另一个SO问题

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM