How to use the current iOS app icon with UIImageView in Swift 3.

How to use the current iOS app icon with UIImageView in Swift 3.
How to use the current iOS app icon with UIImageView in Swift 2.
AppCompat v21.+’s Theme.AppCompat extends Theme.Base.AppCompat which extends Theme.Platform.AppCompat which extends android:Theme.Material on 21+ devices (i.e. Android 5.0 Lollipop) so you only need to extend Theme.AppCompat to use Material theme if you are using the AppCompat v21 (or above) library.
First add compile ‘com.android.support:appcompat-v7:21.0.0’ to the dependancies section of your build.gradle file.