In App settings tableview from Settings bundle

2019-02-11 10:01发布

问题:

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