try to compatible with Swift 3.1
This commit is contained in:
parent
e120766d9a
commit
4968f3e867
2 changed files with 2 additions and 2 deletions
|
|
@ -80,6 +80,6 @@ class LabelTableViewCell: UITableViewCell {
|
|||
|
||||
func openLink(_ sender: Any?) {
|
||||
UIPasteboard.general.string = password?.password
|
||||
UIApplication.shared.open(NSURL(string: cellData!.content) as! URL, options: [:], completionHandler: nil)
|
||||
UIApplication.shared.open(URL(string: cellData!.content)!, options: [:], completionHandler: nil)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue