Using XIB/NIB files contained within downloaded bundles on iOS

后端 未结 1 1895
南方客
南方客 2021-02-11 06:24

On the face of it, this seems a very simple problem but for some reason I can\'t quite get it to work.

I have a magazine-style app that downloads the data for each issue

相关标签:
1条回答
  • 2021-02-11 07:01

    I am unsure if you can 'legally' get away with this. But the problem is likely you are suppling a 'xib' instead of the compiled version the 'nib'.

    You can do this manually from the command line by using the provided ibtool program.

    ibtool --errors --warnings --output-format human-readable-text --compile ${OUTPUT_NAME} ${INPUT_NAME}

    You'd then place the compiled .nib file into the bundle and load as you've been trying.

    0 讨论(0)
提交回复
热议问题