简体   繁体   中英

Call parent view controller method from WEPopoverController

I'm using an iOS popover implementation from here: https://github.com/PaulSolt/WEPopover

What's the best way for me to call a parent view controller method from within the WEPopoverController?

Thanks!

  1. Delegates.
  2. NotificationCenter.

These are the two Best ways to send message to object of other class.

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