简体   繁体   中英

Does having too many View Controllers in a storyboard slow down an IOS app,

I am currently working on a Spy app with different modules of Spy tools. For my Night Vision module for every mode I use a different View Controller. I also linked all 5 View Controllers together with different Segues, although you can't seem them in this picture. 在此处输入图片说明

I have noticed the performance is not as stellar compared to running an single mode out of a single project. Is it likely the amount of View Controllers slowing the performance down? If so what method do you recommend to cure this problem? The only other difference in the individual project module and the full App project besides the amount of View Controllers/Segues is I use imageViews that work like buttons instead of using buttons.

You can add as many as view controllers in a single storyboard. No performance degrade issue in app but that storyboard will take a time to load in xcode when you open that storyboard.

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