문제 설명
Aviary Image Editor에서 사용자 로그인 버튼 제거 (Removing user login button on Aviary Image Editor)
저는 퍼즐 솔루션 이미지를 편집할 수 있는 게임에 AviarySDK
를 통합했습니다. 모든 것이 잘 작동하지만 NavigationBar
에 로그인/등록 버튼이 있다는 것을 깨달았습니다.‑
게임 자체에 자체 로그인/등록 워크플로가 있어 사용자를 혼란스럽게 할 수 있으므로 사용자가 로그인하지 못하도록 하고 싶습니다. iOS 및 Android SDK에서 이 버튼을 숨기거나 비활성화하는 방법이 있습니까?
참조 솔루션
방법 1:
The login lets users manage their Image Editor content (filters, stickers, frames, etc) across devices and apps with Creative SDK Image Editor integrations.
It's possible to remove the login button by removing all content tools from the Image Editor. When all content tools are removed, the user login will go away.
iOS You can do this with the setToolOrder:
method:
[AdobeImageEditorCustomization setToolOrder:@[kAFEnhance, kAFCrop, <etc etc>]];
Details in the Image Editor guide for iOS.
Android You can do this with the withToolList(ToolLoaderFactory.Tools[])
method:
withToolList({ToolLoaderFactory.Tools.CROP, ToolLoaderFactory.Tools.ENHANCE, <etc etc>})
Details in the Image Editor guide for Android.
Note: Tools in the arrays are inclusive; those omitted from the array will not appear in the Image Editor. The order of the tools in the array is respected in the UI.
(by ssantos、Ash Ryan Arnwine)