carbonkit

how to callback the array of data to another viewController in iOS Swift

允我心安 提交于 2020-04-15 06:48:50
问题 In createCardVC, I have used the carbonKit library to show tab bar. Initially, the array of data loaded using static data but now I am trying to use an array of data from webView javascript postMessage. When createCardVC is loaded the carbonKit of the first tab is webViewVC will be loaded. In webView, From postMessage it will list number menu items to show tab bar menu. Here tabs values are dynamic and which will return from webView postMessage. Here is the clear picture: Here is the code