gpt4 book ai didi

ios - 在 iOS 的 Google Plus 的 GPPSignInButton 中自定义图像?

转载 作者:塔克拉玛干 更新时间:2023-11-02 09:16:03 24 4
gpt4 key购买 nike

我需要定制G+登录按钮(我需要申请一张图片),请问有定制的吗?文档说如果我们使用多个社交媒体集成,它可以定制。

https://developers.google.com/+/branding-guidelines#plusone-button

提前致谢!

最佳答案

您可以通过更改登录按钮的图像属性来更改图像,

self.signInButton.style = kGPPSignInButtonStyleStandard;
[self.signInButton setImage:[UIImage imageNamed:@"GooglePlus_CustomImage.png"] forState:UIControlStateNormal]; // custom image

希望这对你有帮助..

关于ios - 在 iOS 的 Google Plus 的 GPPSignInButton 中自定义图像?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23904057/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com