Skip to content

Commit 7c3df93

Browse files
committed
【需要CleanBuild】将所有子类的头文件和ExternC函数拆分到各自的头文件中,如果打包Xcode工程后报错,可按照README中的方法尝试修复
1 parent e322760 commit 7c3df93

54 files changed

Lines changed: 909 additions & 496 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Plugins/iOS.meta renamed to Plugins/CS.meta

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ static void OnShareCloseCallback(bool saved)
2929
}
3030

3131
static event Action<bool> OnSaveImageToAlbumCallback;
32+
33+
/// <summary>
34+
/// 保存图片(本地绝对路径)到相册(App安装后首次调用会申请相册权限)
35+
/// </summary>
36+
/// <param name="imagePath">图片文件的本地绝对路径</param>
37+
/// <param name="callback">保存成功回调</param>
3238
public static void SaveImageToAlbum(string imagePath, Action<bool> callback = null)
3339
{
3440
_SaveImageToAlbum(imagePath, OnShareCloseCallback);

0 commit comments

Comments
 (0)