0

As soon as I press the button to take a photo, the app crashes with no error message. The only log messages I get are as follows:

2016-02-17 23:29:47.773 OMC[254:4325] Snapshotting a view that has not been rendered results in an empty snapshot. Ensure your view has been rendered at least once before snapshotting or snapshot after screen updates.
2016-02-17 23:29:49.449 OMC[254:4325] Received memory warning.

I can post any relevant code, but I'm not sure what would be of use here.

Erik Johnson
  • 858
  • 1
  • 7
  • 29

1 Answers1

1

I am not sure it will work for you .

on your app

you are just using too much memory didReceiveMemoryWarning gets called , Check the Memory of each objects , Another cause is bad usage of memory. It is possible that you are creating objects and holding on to them with a strong reference for longer than you need to. Without seeing your code it's hard to tell where you are doing this. If you dont need the particular object release the memory manually like in ViewWillDisappear or in every time refresh.

on your Device

Clear the unwanted messages, songs or videos or else whatever you think like it is unwanted delete them and free up your device and try once , may be it helps.

Shripada
  • 6,296
  • 1
  • 30
  • 30
Anbu.Karthik
  • 82,064
  • 23
  • 174
  • 143