【发布时间】:2019-04-20 10:34:16
【问题描述】:
我正在尝试使用以下内容自定义登录页面上的徽标:
AWSMobileClient.sharedInstance()
.showSignIn(navigationController: self.navigationController!,
signInUIOptions: SignInUIOptions(
canCancel: false,
logoImage: UIImage(named: "MyCustomLogo"),
backgroundColor: UIColor.black)) { (result,
err) in
//handle results and errors
}
但是,默认徽标仍然出现,但背景确实变黑了。我在项目中有 MyCustomLogo,但它不需要。我对Apple开发相当陌生,所以我确定我错过了一些简单的东西,或者我没有。我只是需要帮助:)
【问题讨论】:
标签: swift xcode authentication amazon-cognito aws-amplify