문제

I need to put a few editable URLs in the settings bundle and as there will be three I need each to have a switch to tell the web view what url I want it to load at startup.

Any ideas? The problem is that the url's need to stay in the settings part of the app and I have no ideas if the switches, text field, titles and groups can be manipulated this way...

도움이 되었습니까?

해결책

If you have a fixed number of URLs, one could be selected via a multivalue control type (have a list of URL 1, 2 and 3 for instance) and have three text fields below saying URL 1: ..... and so on. However, if you wish to have a variable amount of URLs or switches (working as radio buttons), then I believe that in-app settings is a way better solution than the settings bundle.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top