My question is duplicate but I need not a suitable answer. Also, I have raised the same before how to callback the array of data to another viewController in iOS Swift
I have a parent viewController called CreateCardViewController and a child controller called webViewController.
In parent viewController, I have used carbonKit for showing the tab bar menu. When the tab bar menu first index is webViewController (that's a child controller).
My question is: How to send data to the parent controller from the child controller?
For example: From a child, viewController will get a list of tab bar menu items. After getting tab bar menu items, I need to send menu items to parent viewController to show tab bar.
Here is the clear picture, which I am trying to do: