Why Settings app doesnot list app that is integrated within another app? [closed]

StackOverflow https://stackoverflow.com/questions/18122100

  •  23-06-2022
  •  | 
  •  

سؤال

I have a created an app, consider its app name as 'X', has integrated another app with app name 'Y'. App 'Y' is like a framework with only .h and .m files. I created a settings bundle for the app 'X', this successfully is listed in Settings app. But when I add another Settings bundle to the app that is integrated, that is app 'Y', it is not listed in Settings app, When i run 'X', that is the main app that has the 'Y' app integrated.

Can i do this? Please let me know if there is better way do achieve this..

Please help. I don't know how to proceed.

Thanks

هل كانت مفيدة؟

المحلول 2

I don't think an app can have multiple Settings bundles.
I suppose it is possible to integrate one Settings bundle in another though.

This iOS framework writeup has a good explanation of what your options are to add projects in other projects, coping with resource bundles, etc.

نصائح أخرى

Every app is only allowed on settings bundle, which needs to be in the root of your Application bundle. Therefor what you are trying to achieve is not possible, you should include the settingas for your library in you apps settings.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top