Adds iOS6 support