As above, i wanna to check whether there is enough memory for my new allocation!
asked Jul 13 '11 at 09:45 AM
You need to use native code through a plugin to do so.
But thats not good practice on iOS as you can not assume anything basing on the data you get as iOS has the control, not your app. On iOS you normally listen to the memory warnings (The http://AppController.mm has the corresponding function defined - it leads to the log outputs - but its not hooked to call anything in unity until you use UnitySendMessage to call something specific) and reduce memory when you hit the warning
answered Jul 13 '11 at 08:17 PM