iPhone/iPad:通用应用程序和 InAppSettingsKit

发布于 2024-11-24 01:44:48 字数 942 浏览 0 评论 0原文

我有一个通用应用程序。在 iPhone 上,它是一个选项卡栏应用程序,在 iPad 上它是一个分割视图应用程序。对于设置,我真的很想在我的应用程序中包含三个最重要的设置,然后根据需要启动设置应用程序以进行次要设置(但苹果在那里搞砸了)。所以我正在尝试集成 InAppSettingsKit。

由于该应用程序是通用二进制文件,因此 InAppSettingsKit 必须安装在 Shared/ 中。否则我会遇到重复符号的问题(或者我必须使用 *_iPhone 和 *_iPad 复制并重命名所有内容)。

我正在尝试在 iPhone 上插入 InAppSettingsKit。因为它是一个选项卡视图,所以没有 IASK 所期望的 NavigationController(因此点击除了突出显示行单元格之外什么也不做)。因此该库需要进行一些修改。此外,当我测试纯 iPad 切入时,IASK 会 SIGABRT 因为它需要一个工具栏 (IIRC)。

README 中只有 http://www.inappsettingskit.com 的链接,看起来像很多程序员相关的营销。没有通用应用程序示例,并且提供的两个示例非常基本(不反映选项卡栏/拆分视图应用程序的需求)。另外,我还没有找到提问的地方(github上似乎没有公告板系统[1]),也似乎没有联系方式。

有人在通用应用程序中成功使用过 InAppSettingsKit 吗?如果是这样,则正在共享最佳方法,或者正在复制文件并重命名最佳方法。在真空中调试和修改别人的工作是否值得?如果有人有更好的推荐,我很想听听。

[1] https://github.com/futuretap/InAppSettingsKit

I have a application which is a universal application. On iPhone, it's a Tab Bar application and on iPad its a Split View app. For settings, I really wanted to include the three most important settings in my application, and then launch the Settings Application on demand for minor settings (but Apple screwed us there). So I'm trying to integrate InAppSettingsKit.

Because the application is a universal binary, InAppSettingsKit must be installed in Shared/. Otherwise I will get problems with duplicate symbols (or I have to duplicate and rename everything with *_iPhone and *_iPad).

I'm trying to cut-in InAppSettingsKit on the iPhone. Because its a tab view, there is no NavigationController as IASK expects (so a tap does nothing except highlight the row cell). So the library will need some modifications. In addition, when I tested a purely iPad cut-in, IASK would SIGABRT because it expected a tool bar (IIRC).

The README only has a link to http://www.inappsettingskit.com, which looks like a lot of programmer related marketing. There are no Universal App samples, and the two samples provided are very basic (not reflecting the needs of a Tab Bar/Split View app). In addition, I have not found a place to ask questions (github does not appear to have a bulletin board system [1]) and there does not appear to be contact information.

Has anyone successfully used InAppSettingsKit in a Universal App? If so, was sharing the best method, or was duplicating files and renaming the best method. Was it worth the effort to debug and modify someone else's work in a vacuum? If someone have a better recommendation, I would love to hear it.

[1] https://github.com/futuretap/InAppSettingsKit

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

久隐师 2024-12-01 01:44:48

首先,GitHub 页面上有一个“问题”区域,您也可以在其中提出问题。我们不提供个人建议,因为我们想避免志愿项目的重复工作。

我不明白为什么您需要修改 InAppSettingsKit ,具体取决于它是在选项卡栏还是分割视图控制器中使用。

看一下示例项目,我们将 IASK 集成到选项卡栏、导航控制器和模态视图控制器中。

除此之外,恐怕我没有关于如何将其集成到通用二进制文件中的具体建议。

First of all, there's an "Issues" area on the GitHub page where you can ask question, too. We don't give individual advice because we wanna avoid duplicate work for a voluntary project.

I don't see why you should need to modify InAppSettingsKit at all depending on whether it's used in a tab bar or split view controller.

Take a look at the sample project where we integrate IASK into a tab bar, a navigation controller and a modal view controller.

Other than that, I'm afraid, I don't have specific advice how to integrate it into a Universal binary.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文