Added the capability for iOS to show and hide the ad.