iPhone应用程序的错误出现在分配(应用程序商店)版本 [英] Bug Appears in Distribution (App Store) Version of iPhone App

查看:141
本文介绍了iPhone应用程序的错误出现在分配(应用程序商店)版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建一个具有自建照片工具的应用程序。当我测试(调试和放大器;特设),它工作正常。它使用一个UIScrollView竣工和照片的插槽被滚动到屏幕上增加了每张照片的UIScroll视图。

I created an app that has a self-built photo tool. When I test (Debug & Ad Hoc), it works fine. It is built using a UIScrollView and adds each Photo to the UIScroll view as the photo's slot is scrolled onto the screen.

但是,现在的应用程序在App Store和左 - 右轻扫到负载​​拍照功能没有加载照片。这是iPhone 3G和iPhone 4同样的情况。

But now the app is in the App Store and the left-right swipe-to-load-photo feature is not loading the photos. This is the same situation on iPhone 3G and iPhone 4.

任何想法,为什么/这是怎么发生?

Any ideas why / how this could happen?

其他信息

在进一步的检查和思考如何我创造了这个,这里有一些其他注意事项。

Upon further inspection and thinking about how I created this, here are some other notes.

如果您刷卡左/出现的第一个图像之后,应用程序开始延迟加载序列中的下一张照片,这取决于哪种方式你滚动。如果你到的图像是应该载入插槽和图像尚未加载,你看到一个UIActivityIndi​​cator。

If you swipe left/right after the first image appears, the app begins to 'lazy load' the next photo in sequence, depending on which way you are scrolling. If you get to the slot where an image is supposed to load and the image has not yet loaded, you see a UIActivityIndicator.

通过App Store的版本,我通常只是看到空白屏幕。这让我觉得这是懒加载图像而不是将它们添加到子视图,或不将他们的观点的前面。如果我滚动速度不够快,超过了延迟加载,我可以得到一个形象,最终出现在插槽中 - 所以它可能是与我的懒加载的一个问题 - 但是,这并不回答为什么在特设这项工作但在App Store版本会失败?

With the App Store version, I am usually just seeing blank screens. This makes me think it is lazy loading the images but not adding them to the subview, or not bringing them to the front of the view. If I scroll fast enough to outpace the lazy loading, I can get an image to eventually appear in one of the slots - so it is probably an issue with my lazy loading - but that doesn't answer "why does this work in ad hoc but fail in the app store version?"

推荐答案

尝试构建它在释放模式要比安装在设备和测试应用程序来测试设备您的应用程序。您也可以尝试在模拟器在释放模式。

try to test your app in device by building it in release mode than install in your device and test the app. You can also try in simulator in release mode.

这篇关于iPhone应用程序的错误出现在分配(应用程序商店)版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆