Handling "Received memory warning" on iOS

Hi,

I’m receiving this message on iOS. Is it possible to intercept it from MOE and then do some memory cleanup?

On a standard app you would implement:

didReceiveMemoryWarning

thanks

guich

Hi!

Please, read this:

Best Regards,
Roland

Hi Roland,

I followed the link and read everything for some hours.

I tried to copy the GCUtil to my project but then i realized that the alloc method is native and will not be found.

I need to intercept the didReceiveMemoryWarning method to do some memory cleanups on my side.

If the GCUtil.didReceiveMemoryWarning was at least protected, i could override it.

Can this be done?

thanks

guich