added image selection and viewing in iOS app