In my app I need to communicate two viewcontrollers which are inside a tabbarcontroller.
That is the value of an object in viewcontroller in first tab index can be changed from viewcontroller in second tabindex.
Thanks in advance
For this kind of stuff I usually use NSNotifications. I've answered a similar question here: passing data objects between view-controllers
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.