简体中文
外观
NSBundle
bundlePath
bundlePath 属性是包的绝对路径。
字符串。App 的包以 .app 结尾。
.app
TypeError
console.log(NSBundle.mainBundle.bundlePath.endsWith('.app'));
结果:输出 true。
true
NSBundle.bundlePath。
NSBundle.bundlePath
application.fileSystem.assets