Adelanto 0.1.1

Adelanto 0.1.1

测试测试过
语言 Obj-CObjective C
许可 MIT
发布最后发布日期2014年12月

Alex Manarpies 维护。



Adelanto 0.1.1

使用

ADLVersionManager

ADLVersionManager 可用于在 iOS 设置面板中显示应用程序的当前版本和构建号。为了让这生效,您需要在应用程序中添加一个 Settings.bundle 并将以下部分添加到其 Root.plist

<dict>
    <key>DefaultValue</key>
    <string></string>
    <key>Type</key>
    <string>PSTitleValueSpecifier</string>
    <key>Title</key>
    <string>Version</string>
    <key>Key</key>
    <string>adl_appVersion</string>
</dict>

修改您的 AppDelegate.m

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
    // Add the following line:
    [ADLVersionManager saveVersionFromMainBundle];
    return YES;
}

要求

iOS 6+

安装

Adelanto 通过 CocoaPods 提供。要安装它,只需将以下行添加到您的 Podfile 中

pod "Adelanto"

作者

Alex Manarpies | aceontech.com | @aceontech

许可

Adelanto 基于 MIT 许可证。有关更多信息,请参阅 LICENSE 文件。