How to programatically update latest version of iOS App without redirecting App Store?

Hi, I am trying to download and automatically update latest version of iOS app from app store programmatically without redirect user to app store. Please any one help me to how to achieve.