Updated iOS implementation to support iOS8 beta see #19