can please tell me how to handle memory management in ios cordova based project "received memory warning"
i getting warning in ios cordova project when running on iphone or ipad (version 8.1).i using cdvlocation geolocation in app. receiving message while loading map based views.i using arc based xcode project
any in managing memory warnings cordova "received memory warning" appreciated.
thank
try way in cdvplugin.m
- (void)onmemorywarning { // override remove caches, etc nslog(@"onmemorywarning"); nsstring * javascriptstring = @"yourjsfunctiontomanagememorywarnings();"; [self.webview stringbyevaluatingjavascriptfromstring:javascriptstring]; }
Comments
Post a Comment