iOS 开发实用技术导航
NSHipster 中文版
http://nshipster.cn/
cocos2d 开源 2D 游戏引擎
http://www.cocos2d-iphone.org/
CocoaPods
http://cocoapods.org/
Google Analytics for Mobile 统计解决方案
http://code.google.com/mobile/analytics/
WWDC
https://developer.apple.com/wwdc/
Design Guides and Resources
https://developer.apple.com/design/
Transcripts of WWDC sessions
http://asciiwwdc.com
Cocoa with Love
http://cocoawithlove.com/
Cocoa Dev Central
http://cocoadevcentral.com/
NSHipster
http://nshipster.com/
Style Guides
Google Objective-C Style Guide
NYTimes Objective-C Style Guide
Useful Tools and Services
Charles Web Debugging Proxy
Smore
27493586
V2EX  ›  iDev

像Twitter那样。Tab Bar下面有三个View。Tab Bar右上角有按钮,点击会打开一个新建Tweets的Modal View。我想设定那个Modal View的delegate。但是我发现没有地方prepare segue

  •  
  •   27493586 · Apr 4, 2012 · 4643 views
    This topic created in 5180 days ago, the information mentioned may be changed or developed.
    我想从Modal View那里获取“回调”信息,搜了一下说应该在prepareForSegue的时候设置它的delegate。
    我在Tab Bar包含的那三个View的prepareForSegue里都打了log,但是弹出Modal View的时候都没显示。
    好像在那三个View里设置prepareForSegue没用。
    右上角那个按钮应该是Tab Bar的。但是Tab Bar本身又没有一个Controller。
    请问我应该在哪里设置prepareForSegue?

    谢谢。
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5157 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 09:26 · PVG 17:26 · LAX 02:26 · JFK 05:26
    ♥ Do have faith in what you're doing.