fixed #1847: Updating template for iOS.