Function integrator for iOS with the variable accuracy.