小编Hug*_* BR的帖子

App Store - 管理应用程序先前版本的可用性

Apple发布了App Store的新功能.具有不兼容的iOS版本的iPhone的所有者能够下载您的应用程序的先前(最后一个兼容版本).

这可能很酷.但不幸的是,我有一个旧版本的我的应用程序支持iOS5,我的后端完全不支持.最后一个版本需要最低iOS6.因此,任何拥有iOS5的用户都会下载不受支持的App版本.

Apple说您可以删除以前的版本(https://developer.apple.com/news/?id=9182013a):

如果您不希望这些版本可用,则可以在iTunes Connect的"管理您的应用"模块的"权利和定价"部分中管理应用程序以前版本的可用性

但我在"权利和定价"中找不到任何关于此的链接.

有没有人成功删除过他们的App版本?

任何帮助赞赏.

编辑2013-10-04:Apple已发送更新电子邮件以宣布该功能("iTunes Connect:管理应用程序以前版本的可用性.")但仍然没有运气.

app-store ios

51
推荐指数
3
解决办法
2万
查看次数

iOS8 iTunes Connect和Testflight

据我了解,为了邀请用户成为内部测试人员,您需要将他们添加到iTunes连接.到现在为止还挺好.

我的问题是我的iCloud帐户已经链接到另一个iTunes Connect帐户(我用它来发布和管理个人应用程序)但我也希望能够测试我的公司应用程序,这显然是在不同的iTunes连接帐户上我使用不同的Apple ID来访问它.

iOS8 testflight应用程序不允许您切换帐户.

我是否必须在手机上更改我的iCloud帐户才能访问公司内部测试版.

任何人都有更好的主意吗?

itunesconnect ios testflight ios8

11
推荐指数
1
解决办法
5004
查看次数

UITabBar在iOS7上更改一个UITabBarItem的背景颜色

我可以改变一个特定的背景颜色UITabBarItemUITabBar

我知道如何更改所选背景的所有背景,使用:

[[UITabBar appearance] setBarTintColor:[UIColor redColor]];
[[UITabBar appearance] setTintColor:[UIColor blueColor]];
[[UITabBar appearance] setSelectedImageTintColor:[UIColor yellowColor]];
Run Code Online (Sandbox Code Playgroud)

但是如果没有子类化,它只能用于一个项吗?

谢谢

objective-c uitabbaritem uitabbar ios ios7

7
推荐指数
2
解决办法
8685
查看次数

Fastlane提供配置文件疯狂

很抱歉,如果我遗漏了某些内容,请提出问题.

我正在使用看起来像这样的车道:

  desc "Submit a new Beta Build to Apple TestFlight"
  desc "This will also make sure the profile is up to date"
  lane :beta do
    ...
    # download certificate
    cert
    # download provisioning profile
    sigh
    # set profile uiid
    # https://github.com/fastlane/fastlane/blob/master/docs/CodeSigning.md
    ENV["PROFILE_UUID"] = lane_context[SharedValues::SIGH_UDID]
    # build
    gym(
      scheme: "Release"
    )
    pilot
  end
Run Code Online (Sandbox Code Playgroud)

我在健身房步骤后仍然保持进程失败,并出现以下错误:

?  Code Sign error: No matching provisioning profile found: Your build settings specify a provisioning profile with the UUID “8bd6dafb-2596-41d9-8907-8c012d23a5ac”, however, no such provisioning profile was …
Run Code Online (Sandbox Code Playgroud)

provisioning-profile fastlane

5
推荐指数
1
解决办法
5424
查看次数

我可以在没有 HealthKit 的情况下使用 ResearchKit 吗?

这不一定是代码问题,而是对 Apple 围绕ResearchKitHealthKit的隐私政策的限制和/或限制和/或理解。

我是否必须使用HealthKit才能使用ResearchKit(我基于代码的假设是否定的)?我喜欢ResearchKit的调查部分,但不确定我是否会使用HealthKit来存储数据(与下一个问题相关)。

此外,我已经看到HealthKit对数据共享有很强的限制但我的理解是它仅适用于通过HealthKit获得的数据,不一定是应用程序本身通过HealthKit存储的数据。数据共享隐私政策是否仅适用于其他应用程序收集的数据?

如果有人有ResearchKit经验,我很乐意听取您的观点或接收有关此方面的一些文档的指导。

ios healthkit researchkit

3
推荐指数
1
解决办法
551
查看次数

弱自我作为一个iVar

我知道你应该在块中使用weakSelf,以避免保留内存周期.喜欢:

__weak id weakSelf = self;
self.block = ^{
    [weakSelf something];
}
Run Code Online (Sandbox Code Playgroud)

但我正试图找到一种通用的方法.我可以使用像:

#define Weakify(o) __weak __typeof__((__typeof__(o))o)
#define WeakifySelf(o) Weakify(self) o = self;

WeakifySelf(weakSelf)
self.block = ^{
    [weakSelf something];
}
Run Code Online (Sandbox Code Playgroud)

这简化了,但我想知道为什么我不能在我的viewController上使用ivar.

@interface YDViewController : UIViewController
{
    __weak id _weakSelf;
}
Run Code Online (Sandbox Code Playgroud)

然后使用这个iVar

self.block = ^{
    [_weakSelf something];
}
Run Code Online (Sandbox Code Playgroud)

任何的想法?

memory-leaks weak-references objective-c ios

1
推荐指数
1
解决办法
216
查看次数