Updated to support iOs 8

Signed-off-by: Conrad Bartels Daal <conrad@proxible.com>