仿写微信分享功能
导入方法:
pod 'CWShareView'
在相应位置导入头文件:import CWShareView
调用下列任意方法即可:
let clickedHandler = { (shareView: ShareView, indexPath: IndexPath) in
print(indexPath.section, indexPath.row)
}
let title = "网页由mp.weixin.qq.com提供"
let shareView = ShareView(title: title,
shareItems: [shareList1, shareList2],
clickedHandler: clickedHandler)
shareView.show()
CWShareView is released under the MIT License.