Ad hoc VS构建应用程序行为 [英] Ad hoc VS Build application behavior

查看:246
本文介绍了Ad hoc VS构建应用程序行为的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发了一个简单的应用程序,其中包含一个显示数据的UITableView,当您单击一行时,它会显示一个详细信息页面。

I have developed a simple app that contains a UITableView that displays data, and when you click on a row, it displays an details page.

如果我编译我的应用程序,并把它放在我的iPhone 3G,它的工作原理完美如预期。当我创建我的应用程序的特别的问题发生。当安装在我的同一个iPhone 3G,图形毛刺发生在我的detailled页面的任何地方。我真的不知道从哪里开始寻找理解这一点。

If I compile my apps and put it on my iPhone 3G, it works perfectly as expected. The problem occurs when I create an ad hoc of my apps. When installed on my same iPhone 3G, graphical glitches occur everywhere in my detailled page. I really don't know where to start looking to understand this.

任何人遇到这个问题?
谢谢。

Anyone ever had this problem? Thanks.


  • EDIT *

精确度,我使用XCode 4.2(Apple LLVM Compiler)

A precision, I'm using XCode 4.2 (Apple LLVM Compiler)

推荐答案

尝试关闭编译器优化。

Try to turn off compiler optimizations.

编译发布版本时,旧版iOS 3.x和4.x ARMv6设备上的UI出现问题。我不知道为什么,但关闭编译器优化会有所帮助。

Something is going wrong with UI on old iOS 3.x and 4.x ARMv6 devices when compiling a release build. I have no idea why, but turning off compiler optimizations will help.

关闭Thumb也可以帮助你解决这个问题,你可以去你的构建设置和鼠标其他C标志选项。单击该选项右侧显示的小加号按钮,并为ARMv6体系结构添加一个条件。再次执行此操作为ARMv7体系结构创建一个。在ARMv6架构下,添加 -mno-thumb 的额外编译器标志。

Turning off Thumb may also help you with this issue, you can go to your build settings and mouse over the "Other C Flags" option. Click on the little plus button that appears to the right of this option and add a condition for the ARMv6 architecture. Do this again to create one for the ARMv7 architecture. Under the ARMv6 architecture, add the extra compiler flag of -mno-thumb.

这篇关于Ad hoc VS构建应用程序行为的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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