在设置包中的应用程序设置表视图中 [英] In App settings tableview from Settings bundle

查看:153
本文介绍了在设置包中的应用程序设置表视图中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个 TableView ,它会从 Settings.bundle 自动生成。曾经有一个框架 InAppSettings 但是这个不适用于iOS 7及更高版本。还有其他任何代码/教程吗?

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?

推荐答案

我一直在寻找并找不到如此创建的样板解决方案我自己的代码来做这件事。它支持设置类型标题文本字段多值切换开关

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.

NOT SUPPORT Slider

此解决方案支持纵向和横向模式,还可以处理更改设备方向。

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

我已在GIT上发布了代码和自述文件。

I have published the code and readme on my GIT.

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

这篇关于在设置包中的应用程序设置表视图中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆