In App settings tableview from Settings bundle

試著忘記壹切 提交于 2019-11-30 16:20:31

问题


I want to create a TableView which is automatically generated from the Settings.bundle. There used to be a framework InAppSettings but this isn't working with iOS 7 and up. Is there any other code/tutorial for this?


回答1:


I have been searching around and couldn't find a boilerplate solution so created my own code for doing this. It supports the setting types Title, Group, Text Field, Multi Value and Toggle Switch.

It does NOT SUPPORT Slider.

This solution does support portrait AND landscape mode and can also handle changing over device orientations.

I have published the code and readme on my GIT.

https://github.com/KingIsulgard/iOS-InApp-Settings-TableView/blob/master/README.md



来源:https://stackoverflow.com/questions/24813954/in-app-settings-tableview-from-settings-bundle

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!