Modal view for share action. Simple, useful and clean design.
let shareView = KireiShareView(
text: "Awesome!!Dope!!!",
url: "https://uniface.in/",
image: thumbnail
)
shareView.show()
shareView.otherButtonTitle = "その他"
shareView.cancelButtonTitle = "キャンセル"
shareView.copyLinkButtonTitle = "リンクをコピー"
shareView.copyFinishedMessage = "コピーしました。"
shareView.animationDuration = 0.2
shareView.buttonList = [
.Other,
.CopyLink,
.Facebook,
.Twitter,
]
shareView.buttonList = [
.Other,
.CopyLink,
.Facebook,
.Twitter,
// add your button
.Custom(
title: "Tumblr",
icon: UIImage(named:"tumblr"),
onTap: {
shareToTumblr()
shareView.dismiss()
}
),
]
Developer: @tk_365
Designer: @mackymakiosh