camera work on ios and mac