我正在构建一个通过 AirWatch 应用程序目录分发的内部应用程序。该应用程序始终在启用引导式访问的情况下运行,并且所有运行它的设备都由 AirWatch 管理。我的问题是关于自动更新:
itms-services://链接,也许是一个链接,如果 Web 服务表明它不再是最新版本,应用程序可以调用该链接来安装新版本?如果是这样,启用引导式访问如何影响这种行为?非常感谢你的帮助!!
基本上我看到的问题似乎是一个Apple bug.问题是在滚动表格之后,任何行上的第一次点击只会突出显示它.需要第二次点击才能实际选择或取消选择它.我注意到这个问题大多数时间都会发生.它很少会按预期工作,但我没有注意到它何时起作用的模式.
只有在theTableView.bounces = NO;其他情况下才会出现此问题,它完美无缺.
我通过实现适当的委托方法来验证这一点.
滚动后首先点击任意一行,我得到这些回叫
-(BOOL)tableView:(UITableView *)tableView shouldHighlightRowAtIndexPath:(NSIndexPath *)indexPath
-(void)tableView:(UITableView *)tableView didHighlightRowAtIndexPath:(NSIndexPath *)indexPath
-(void)tableView:(UITableView *)tableView didUnhighlightRowAtIndexPath:(NSIndexPath *)indexPath
Run Code Online (Sandbox Code Playgroud)
滚动后在相同或不同的行上进行后续点击,我得到这些回调
-(BOOL)tableView:(UITableView *)tableView shouldHighlightRowAtIndexPath:(NSIndexPath *)indexPath
-(void)tableView:(UITableView *)tableView didHighlightRowAtIndexPath:(NSIndexPath *)indexPath
-(void)tableView:(UITableView *)tableView didUnhighlightRowAtIndexPath:(NSIndexPath *)indexPath
//then
-(NSIndexPath *)tableView:(UITableView *)tableView willSelectRowAtIndexPath:(NSIndexPath *)indexPath
-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
//or
-(NSIndexPath *)tableView:(UITableView *)tableView willDeselectRowAtIndexPath:(NSIndexPath *)indexPath
-(void)tableView:(UITableView *)tableView didDeselectRowAtIndexPath:(NSIndexPath *)indexPath
Run Code Online (Sandbox Code Playgroud)
我已经看到了其他类似的问题,但是所有这些问题都在另一个滚动视图中使用了一个表,这不是这里的情况.
有没有人为此找到修复或解决方法?我试过iOS 7.0 ... 8.2并且所有这些问题都存在.
谢谢!