반응형
@objc func openSafari(_ sender: Any) {
if let url = URL(string: "https://hongssup.tistory.com") {
UIApplication.shared.open(url, options: [:])
}
}
728x90
반응형
'초보 iOS 개발자의 일상 > 개발 업무' 카테고리의 다른 글
[Swift iOS] 서버와 API 통신 : HTTPHeaders 헤더로 값 넘겨주기 (0) | 2021.06.03 |
---|---|
[Swift iOS] 앱 버전정보 가져오기 (0) | 2021.06.03 |
[Swift iOS] Section Index Title 한글 초성 가져오기 UnicodeScalar (0) | 2021.05.31 |
[Swift iOS] JSON parsing : ObjectMapper vs. Codable (0) | 2021.05.31 |
[Swift iOS] UIView layout update cycle & methods (0) | 2021.05.28 |