iPhone:带有故事板的弹出窗口
我想制作一个像这样的弹出窗口:
http://www.touch-code-magazine.com/showing-a-popup-window-in-ios-class-for-download/
但是,它在我的 xcode 上不起作用因为我正在开发一个应用程序ios5,使用故事板。 您还知道其他类似的例子吗?
提前致谢。
I would like to make a popupwindow like this:
http://www.touch-code-magazine.com/showing-a-popup-window-in-ios-class-for-download/
However, It doesn't work on my xcode because i am developing an app for ios5, using a storyboard.
Do you know any othere examples similar to this?
thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您没有理由不能使用 Nib 文件创建所需的视图,然后使用情节提要控制的 VC 以编程方式添加该视图。
There is no reason you cannot create the view you need using a Nib file and then add that view pro grammatically with a VC controlled by storyboard.
故事板处理您正在谈论的那种窗口。
将您的segue设置为“模态”、“表单”和“默认”
然后您的新窗口将大小设置为“表单”。
这应该可以让您获得与您想要的类似的东西,而无需求助于 NIB。
Storyboards handle the kind of window you are talking about.
Make your segue "Modal", "Form Sheet", and "Default"
Then your new window make the size "Form Sheet".
This should get you something similar to what you want without resorting to NIBs.