In App settings tableview from Settings bundle

2019-02-11 09:15发布

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条回答
Lonely孤独者°
2楼-- · 2019-02-11 10:17

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

查看更多
登录 后发表回答