Tag: ios7

无法validation软件包:721772200.itmsp

我写信是因为我有一个严重的问题 – 我在cartoonsmart网站上购买了Commander Cool游戏。 然而,一个严重的问题发生。 iTune Connectvalidation无法接受该应用程序。 我试图从两个不同的开发者帐户发布它,错误仍然发生。 错误提示证书存在一些问题,但我相信这是100%正确的,因为我现在已经在App Store中发布了20多个应用程序。 我请求你的帮助,因为你是我最后的希望。 我改变的唯一的事情是在有效的架构中添加armv6,因为没有它的应用程序无法加载。 通过iTunes Connect显示错误: “在validation过程中发现了以下问题:Apple的Web服务操作不成功无法validation软件包:721772200.itmsp错误ITMS-9000:”The bundle'com。 。 '在捆绑path'Payload / CommanderCool.app未使用Apple提交证书签名。“在SoftwareAssets / SoftwareAsset(MSItmspSoftwareAssetPackage)?

UITextView contentInset无法在iOS 7上的UITextView中工作?

我试图设置一个UITextView的contentInset属性。 当这样做的时候, UIEdgeInset的topvariables工作得很好。 所以[self.textView setContentInset: 'UIEdgeInsetsMake(50, 0, 0, 0)]; 作品。 但分配UIEdgeInsets的任何其他variables不起作用。 只有top调整。 bottom不调整,也不right 。 所以[self.textView setContentInset: UIEdgeInsetsMake(0, 50, 100, 50)]; 不会对我的textView做任何事情。 我错过了什么吗? 有任何想法吗?

UITableview Cellexception – '必须将自动resize的掩码转换为约束才能拥有_setHostsLayoutEngine:YES

我正在使用UITableView。 CategoryCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifierLink]; 这是我得到错误的线。 它在IOS 7中工作。但是当我在IOS 8中运行应用程序时,我收到错误 ** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Must translate autoresizing mask into constraints to have _setHostsLayoutEngine:YES. 编辑 完整的代码 – (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{ static NSString *CellIdentifierImageLink = @"NewsImageAndLink"; static NSString *CellIdentifierImage = @"NewsImage"; static NSString *CellIdentifierLink = @"NewsLink"; static NSString *CellIdentifier = […]

在UITableView中显示和隐藏特定的单元格types(可能带有animation)

我有一个UITableView并已经看到了这种效果,并希望为我们的后续数据实现它: menu_header menu_subheader * item * item menu_subheader * item * item * item 基本上,我只想显示标题和子标题,然后当用户点击其中一个子标题时,它显示这些项目(最好在一个animation块中)并适当地调整其他单元格。 喜欢这个: 是否有预构build的组件可以做到这一点? 想想看,似乎我想设置这些项目单元格隐藏。 我已经看到这个https://github.com/peterpaulis/StaticDataTableViewController,但它看起来不适用于dynamic数据。 看来这应该是非常简单的。 关于如何完成这个任何想法? 理想情况下,我希望它能够当你点击它插入数据,然后如果你点击另一个子标题,closures另一个,并添加到该子标题。

暂停,继续,取消上传任务使用NSURLSession UploadTask

我正在开发一个应用程序来使用NSURLSession上传多个文件,现在我的文件成功上传。 但现在我想实现的是暂停,恢复和取消上传,就像我们在下载任务。 可能吗。? 任何帮助,将不胜感激。 日Thnx

如何在iOS7的UIPopoverController中禁用较暗的透明效果?

我使用UIPopoverController在iPad iOS7中popup视图,如下所示: if (!self.popover) { UIViewController *popupVC = [[UIViewController alloc] init]; [popupVC.view addSubview:thePopupView]; popupVC.preferredContentSize = CGSizeMake(240, 140); self.popover = [[UIPopoverController alloc] initWithContentViewController:popupVC]; self.popover.delegate = self; } [self.popover presentPopoverFromBarButtonItem:barButton permittedArrowDirections:UIPopoverArrowDirectionAny animated:YES]; 但是当popover激活时, 屏幕会变暗,而这个效果不会影响iOS6中的其他视图。 如何克服这个问题? 谢谢!

字符0,NSJSONSerialization周围的值无效

我从我的服务器得到一个有效的回应: – (void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data { // Append the new data to the instance variable you declared //[_responseData appendData:data]; NSString *responseBody = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding]; NSLog(@"%@",responseBody); if(data != NULL) { dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, (unsigned long)NULL), ^(void) { NSError *error = nil; //NSMutableArray *jsonArray = [[CJSONDeserializer deserializer] deserializeAsArray:[responseBody dataUsingEncoding:NSUTF8StringEncoding] error:&error]; NSMutableArray *jsonArray = [NSJSONSerialization JSONObjectWithData:data options:NSJSONReadingAllowFragments […]

TestFlight Betatesting – 我们可以为不同的1000个外部testing人员提供同一个应用程序的多个版本

我已经通过了这里提到的所有苹果开发者testing版的文档: https://developer.apple.com/library/prerelease/ios/documentation/LanguagesUtilities/Conceptual/iTunesConnect_Guide/Chapters/BetaTestingTheApp.html 它说 您可以启用iTunes Connect团队中最多25位用户作为内部testing人员,最多1000位用户成为每个应用程序的外部testing人员。 苹果说: 可以使用TestFlight Beta程序发送10个应用程序进行预发布。 我的问题是: 1)我们可以为不同的1000个外部testing人员提供同一个应用程序的多个版本。 2)这样,我可以添加具有不同的名称和标识符的相同的应用程序(当然有不同的证书和应用程序ID)到10,000外部testing人员。 3)或者,您可以将1000个外部testing人员添加到单个开发者帐户。 我了解,每个应用程序有10组1000个外部testing人员具有不同版本的应用程序,并且上传了新版本。 这需要分别发送给beta版审批。 我主要关心的是在外部testing程序下为同一个应用程序获得更多testing人员。 有人可以指导我正确的答案。 或者,苹果不会在外部审查时使用一些机制来批准同一个应用程序。

如何作为自定义转换的一部分来更新StatusBar样式

我正在使用iOS 7的UIviewControllerAnimatedTransitioning协议提供一个自定义animation模式的ViewController 。 animation工作正常,但是,我想新呈现的ViewController具有不同于呈现VC的状态栏风格。 我所看到的是-(UIStatusBarStyle)preferredStatusBarStyle在PRESENTING ViewController上被调用(事实上有好几次),从来没有在新呈现的ViewController上调用。 如果我删除自定义animation与状态栏一切工作正如我所料。 在我的animateTransition函数中需要做些什么来更新根视图控制器吗? 我试过用[UIApplication sharedApplication] setStatusBarStyle手动设置statusBar,但它不工作(我想因为我使用基于ios 7视图控制器的状态栏样式)。 这是我animateTransition的代码: – (void)animateTransition:(id<UIViewControllerContextTransitioning>)transitionContext { UICollectionViewCell *activeCell; if ([self.collectionView.visibleCells containsObject:self.cellForActiveIdeaVC]) { activeCell = self.cellForActiveIdeaVC; } UIView *container = transitionContext.containerView; UIViewController *fromVC = [transitionContext viewControllerForKey:UITransitionContextFromViewControllerKey]; UIViewController *toVC = [transitionContext viewControllerForKey:UITransitionContextToViewControllerKey]; UIView *fromView = fromVC.view; UIView *toView = toVC.view; CGRect beginFrame; if (activeCell) { beginFrame = […]

在iOS 7上,viewDidDisappear后键盘不会消失

在我们的应用程序中,有一种情况是用户在文本框中input内容,然后按下后退button返回到主屏幕。 如果我们在iOS 7上运行它,键盘不会消失,它只是停留在那里。 用户仍然可以浏览应用程序,但所有文本字段都被禁用,这意味着您无法在任何地方input文本。 用户唯一的select是杀死应用程序,并开始新鲜。 我们尝试添加resignFirstResponder消息,但是这没有任何帮助。 涉及的代码很多,我们正在积极研究这个问题。 同时, 有没有人遇到过这个问题,也许有办法让它消失?