在iPhone 4G拍照时,应用程序崩溃了? [英] Application get crashed when taken the picture in iPhone 4G?

查看:171
本文介绍了在iPhone 4G拍照时,应用程序崩溃了?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从我的设备拍摄了照片,并调整图像大小并将其设置为我的图像视图框。但我的应用程序在拍摄照片后使用一些时间崩溃(使用调整大小)。现在我已经拍摄的照片在iphone 4G。应用程序只会崩溃,当许多应用程序在后台运行(多任务)。所以我怎么能解决这个问题?,除了应用程序不会崩溃在任何时间。唯一的问题是,当许多应用程序运行在后台模式,而使用相机模式的应用程序崩溃。所以请帮助我。

I have taken the photo from my device and resize the image and set it to my image view frame. But my apps get crashed some times after taken the photo(Using resize). Now i have taken the photo in iphone 4G. The application get crashed only, when the many application runs in the background(Multitasking). So how could i resolve this issue?, Other than the application doesn't crash at anytime. The only problem is, when many application runs in the background mode, while using the camera mode the apps get crashed. So please Help me out.

谢谢。

推荐答案

我的应用程式也有同样的问题。

I had the same problem with my app.

我的case,我错过了dealloc而不是在我的代码的某些点像这样释放:

In my case, I missused dealloc instead of release at some points of my code like this.:

[label1 release];              // OK
[label2 release];              // OK
[label3 dealloc];              // Not OK

[super dealloc];               // OK

检查与内存泄漏有关的代码行。

Check the code lines concerning with memory leaking.

这篇关于在iPhone 4G拍照时,应用程序崩溃了?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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