美文网首页
swift3 iOS 快速实现针对界面控件具体位置的用户引导

swift3 iOS 快速实现针对界面控件具体位置的用户引导

作者: Simon_0 | 来源:发表于2017-03-22 17:11 被阅读0次

通过CocoaPods 安装

pod'XCUserGuideView'

使用方法

let tempguide:XCUserGuideView=XCUserGuideView(frame:self.view.bounds)

let item1:XCUserGuideSharp Item=XCUserGuideSharpItem()      

item1.frame=(button1?.frame)!

item1.title="Look up FF or ff in Wiktionary, the free dictionary"

item1.direction=.up

item1.sharp=.Circle

item1.guideView=button1      

tempguide.show(rootView:self.view,item: item1,completion:nil)

相关文章

网友评论

      本文标题:swift3 iOS 快速实现针对界面控件具体位置的用户引导

      本文链接:https://www.haomeiwen.com/subject/seoonttx.html