Swift: beginAnimations(_:context:) was deprecated in iOS 13.0: Use the block-based animation API instead Swift / Objective-C block-based animation