[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
- Swift button underline programmatically
- Sandbox account sign out
- 샤브샤브
- Swift app version check
- Bundle main infodictionary swift 4
- swift uitextfield 글자수 제한
- Swift label underline storyboard
- 쇼미더머니6
- Swift button text underline
- [WindowScene] Failed to Error
- swift autoclosure
- Swift check notch
- android notification
- 위메프
- swift actor
- wwdc21 actor
- Sandbox test login on
- firebase remote config
- 맛집
- Sandbox account logout
- SceneDelegate error
- How to get version swift
- iPhone X safe area size
- Swift version code
- Swift 앱 버전
- Android
- autoclosure
- [WindowScene] Failed to instantiate the default view controller for UIMainStoryboardFile 'Main' - perhaps the designated entry point is not set?
- Swift 노치 구분
- 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 |
글 보관함