我希望它看起来像这样:
(我无法显示图像)
当我打开带有UITextView的代码时,可以滚动,可以滚动它以将键更改为检测行。然后,它会成功检测到单词并更改背景。
我是制作iBeacon的新手。
override func viewDidLoad() {
super.viewDidLoad()
Image(imageNum: 10000)
locationManger.delegate = self
if (CLLocationManager.authorizationStatus() != CLAuthorizationStatus.authorizedWhenInUse) {
locationManger.requestWhenInUseAuthorization()
}
locationManger.startRangingBeacons(in: region)
showBlshText()
departmentMessage.isScrollEnabled = true
departmentMessage.isPagingEnabled = true
departmentMessage.isEditable = false
departmentMessage.isSelectable = true
departmentMessage.dataDetectorTypes = UIDataDetectorTypes.link
}