How can I set a logo in the “Sign in with Apple” consent screen?

大兔子大兔子 提交于 2020-03-19 06:19:52

问题


I'm implementing 'Sign in with Apple'. How do I use my own app icon on the "Sign in with Apple" consent page instead of displaying a placeholder gray logo?


回答1:


The app icon displayed in the web flow, in addition to the native Sign in with Apple sheet, will be the App Store icon for the primary application associated with your website. If you do not have an app in the App Store to associate your website with, the placeholder app icon will be displayed instead.

Refer to Configure Sign In with Apple for the web for information regarding associating your website with an app.




回答2:


  1. Create app id:

    Specify bundle name the same as you have in your iOS app (specified in info.plist of your app).

  2. Create service id:

    Specify app id above. Associate it with website.

  3. Go to identifiers->open app id->Scroll down to sign in with apple->hit edit->Choose set as primary app id.


来源:https://stackoverflow.com/questions/58475605/how-can-i-set-a-logo-in-the-sign-in-with-apple-consent-screen

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!