How do I open Instagram app from my iOS app?
<p>I am trying to open the Instagram application from my iOS app through UIButton action but it's not working. It shows nothing.</p>

<p>Here is my code in Swift 3: </p>

<pre><code>@IBAction func Instagram(_ sender: AnyObject) {
    let instagramURL = URL(string: "instagram://app")!
    if UIApplication.shared.canOpenURL(instagramURL) {
        UIApplication.shared.openURL(instagramURL)
    }
</code></pre>

<p><a href="https://i.stack.imgur.com/rqTx6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rqTx6.png" alt="And here is my Plist Key -"></a></p>