简体   繁体   中英

Optimizing iOS App File Size

What are other work arounds to optimize the overall file size of an iOS App? I have done, making my images into PNG-8 though.

What I just noticed in my Project is, some of the files added are external classes (Classes from Github that consists of .h and .m)

would it be better if I will just referenced these classes? Even if one module is just 2 Files?

Referencing classes works only for header files, you will need to add the static library in your project. this static library will contain the compiled version of your .m files,

You could compile some of your classes into static libraries and then insert them to your project, however i dont think it will decrease the project size a lot, so my suggestion is to not do that

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM