Restrict user from switching to video mode
<p>I have requirement in my application in which when he choose take photo option,he should only be allowed to capture photo and cannot switch to video mode. And same for choosing the photo from photolibrary he should only be allowed to choose from available photos, he should not be allowed to choose video.How can I restrict user from doing this?
What mode should be set in source type to do it.</p>
