search

Home  >  Q&A  >  body text

How to use iOS to load multiple js files in weex

Integrate weex into the iOS project, use tabbar.js as the entry, load each label without displaying

#Directory structure in iOS project

tabbat.we loads index.js, about.js, about.js, etc., and now displays the following

The icon is not displayed because it has not been added to the project, but other js files have been introduced. I don’t know why each tab page is not displayed. There is no problem with js on the android side

伊谢尔伦伊谢尔伦2742 days ago738

reply all(1)I'll reply

  • phpcn_u1582

    phpcn_u15822017-05-17 10:08:23

    Are you sure the src of the items in your tabbar is correct? If js is packaged in the project, you need to ensure that src can correctly find the js file, instead of just writing the file name

    reply
    0
  • Cancelreply