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

2017-03-22  本文已影响0人  Simon_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)

上一篇 下一篇

猜你喜欢

热点阅读