Updated in iOS to reduce peak memory footprint. Also updated cancel plug...

...in result to an empty array in iOS.