(iphone)InAppSettings/InAppSettingsKit库问题 [英] (iphone) InAppSettings/InAppSettingsKit library questions

查看:151
本文介绍了(iphone)InAppSettings/InAppSettingsKit库问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

似乎有许多InAppSettings的拥护者 https://bitbucket.org/keegan3d/inappsettings/Wiki/首页

It seems there are many advocates of InAppSettings https://bitbucket.org/keegan3d/inappsettings/wiki/Home

在我的应用中,我需要具有来自不同视图的多个不同设置页面.
(概念上,应用程序中有多个应用程序,每个应用程序都需要自己的设置页面)

In my app, I need to have multiple different settings page from different views.
(Conceptually there are multiple apps within the app, and each app needs its own setting page)

我认为也许会有一些简单的方法可以在没有IB或繁琐代码的情况下创建设置页面,并且一定会发现InAppSettings和InAppSettingsKit( http ://inappsettingskit.com/)

I thought maybe there will be some easy way to create settings page without IB or enourmous coding, and surely found InAppSettings and InAppSettingsKit( http://inappsettingskit.com/)

在探究其中一个问题之前,我有2个问题.

I have 2 concerns before digging into one of them.

  1. 是否可以为一个应用创建如上所述的多个设置页面?
  2. 我不喜欢在iPhone设置应用程序中创建设置条目的应用程序,我只希望设置仅出现在我的应用程序中,这两个库是否可能?
  3. (非常可选)当在给定的设置页面中所有设置之下都有巨大的空白时,能够显示图像非常好.

谢谢.

推荐答案

我不确定InAppSettings,但是InAppSettingsKit能够满足这三个要求. 为此(2),只需创建一个名为InAppSettings.bundle的捆绑包,而不是通常的Settings.bundle.

I'm not sure about InAppSettings, but InAppSettingsKit is able to do all three demands. To do (2), just create a bundle named InAppSettings.bundle instead of the usual Settings.bundle.

对于(1):在InAppSettings.bundle中创建具有不同名称的.plists,并将其名称显示在IASKAppSettingsViewController的_file属性中.

For (1): Create .plists with different names inside the InAppSettings.bundle and have their name in the _file attribute of the IASKAppSettingsViewController.

对于(3):指定的自定义视图控制器(IASKAppSettingsViewController)是高度可自定义的,您只需阅读代码即可查看它们如何显示CreditsFooter来放置自定义图像.

For (3): The Custom View Controller (IASKAppSettingsViewController) it specifies is highly customizeable, and you can just read the code to see how they present the CreditsFooter to place your custom image.

对不起,英语不好

这篇关于(iphone)InAppSettings/InAppSettingsKit库问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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