core.js - specific config for apple devices

a more generic function should be implemented.
this will target any device.