简体   繁体   中英

iPhone:Popup window with storyboard

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.

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.

没有理由不能使用Nib文件创建所需的视图,然后使用由故事板控制的VC以编程方式添加该视图。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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