[swift] send email with MFMailComposeViewController
안녕하세요 Sulkun 입니다. 이번에 개발하면서 문의하기 기능을 넣어 달라고해서 부랴부랴 넣는데 생각 보다 쉽더군요 아래 보이시는 간단하는 소스와 주위사항만 보신다면 저처럼 문제 없이 하실수 있다고 생각합니다.. 먼저 Import MessageUI 를 해줘야합니다. import MessageUI class ViewController: UIViewController { 이후 메일 보내기 Action 을 할수 있는 버튼을 생성하시고 내부 코딩을 해주세요 @IBAction func SendToEmailAction(_ sender: Any) { if MFMailComposeViewController.canSendMail() { EmailProc() }else { print("Mail services are n..
IOS
2020. 7. 18. 22:19
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- firebase remote config
- swift actor
- Android
- autoclosure
- 위메프
- Swift version code
- iPhone X safe area size
- Swift 앱 버전
- swift autoclosure
- Sandbox account sign out
- Sandbox test login on
- android notification
- [WindowScene] Failed to Error
- Bundle main infodictionary swift 4
- Swift 노치 구분
- Swift check notch
- swift uitextfield 글자수 제한
- How to get version swift
- 쇼미더머니6
- SceneDelegate error
- Swift label underline storyboard
- Swift button underline programmatically
- 맛집
- 샤브샤브
- Swift app version check
- [WindowScene] Failed to instantiate the default view controller for UIMainStoryboardFile 'Main' - perhaps the designated entry point is not set?
- Swift button text underline
- Sandbox account logout
- wwdc21 actor
- Swift textField max length
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
글 보관함