开发者

Only button being shown when taking picture with camera in iPad 2

I'm presenting my camera using a popover. It works perfectly in my iPad.

For my surprise in iPad 2 when the camera is summoned only the grey bar with the take picture button appears, but the image that shows what the camera sees is invisible, even weirder, only the underlying view is visible. If the user touches the camera bu开发者_如何学Ctton THEN the image appears, showing the photo just taken.

Any idea of what could be the cause ?


opening the camera uses a lot of memory. this causes a memory warning, which in turn remove unused views and objects with a retain count 0.

  1. verify that if "viewDidLoad" is called twice it wont break your logic, as it can happen on memory warning.

  2. check if you are trying to use an object with retain count 0

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜