Want to improve this question? Add details and clarify the problem by editing this post.
Closed 1 year ago.
This post was edited and submitted for review 1 year ago and failed to reopen the post:
Original close reason(s) were not resolved
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
对于 iOS:
为了在 iOS 上的编辑器中交换图标,您需要提供一个可用于
PESDK
类的图像块:首先,您需要导入
RNPhotoEditorSDK
标头在您的AppDelegate.m
/AppDelegate.mm
文件中:然后,您可以在打开编辑器之前设置图像块。我们建议将代码放置在同一文件的
didFinishLaunchingWithOptions
函数内。对于Android:
您需要为SDK的相应图标创建自定义资源文件。只需提供与 SDK 中使用的文件名相同的资源文件即可。
此信息可以在此处< /a>.
For iOS:
In order to exchange icons in the editor on iOS, you need to provide an image block that is available natively for the
PESDK
class:First, you need to import the
RNPhotoEditorSDK
header inside yourAppDelegat.m
/AppDelegate.mm
file:Then, you can set the image block before the editor is opened. We recommend placing the code inside the
didFinishLaunchingWithOptions
function in the same file.For Android:
You will need to create custom resource files for the corresponding icons of the SDK. Simply provide a resource file with the same filename as used in the SDK.
This information can be found here.