-
문자 클립보드 복사하기.IOS 2023. 9. 15. 15:48반응형
UIPasteboard.general.string = "저장할 문자 작성."
if let storedString = UIPasteboard.general.string {
print(storedString)
let alert = UIAlertController(title: "클립보드 복사", message: "복사 완료 되었습니다.", preferredStyle: UIAlertController.Style.alert)
let action = UIAlertAction(title: "확인", style: UIAlertAction.Style.default)
alert.addAction(action)
self.present(alert, animated: true)
}
반응형'IOS' 카테고리의 다른 글
문자 발송하기. (0) 2023.09.15 사파리(브라우저) 연결하기. (0) 2023.09.15 값 저장하고 가져오기 (0) 2023.09.15 개발자 인증서 , 기기 등록하기 , identifiers 등등등 (1) 2017.02.13 Missing Info.plist key (5) 2017.02.10