Using XIB/NIB files contained within downloaded bundles on iOS

。_饼干妹妹 提交于 2019-12-03 05:09:51

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!