(Issue #3649) Add utility to detect iOS
(Issue #3649) add explicit accept attribute to upload button for iOS