일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 앱 꺼졌을 때 푸시 데이터 저장
- 스위프트
- 스위프트 UserDefaults
- 안드로이드 앨범
- Flutter UIKitView MethodChannel
- 스위프트 푸시
- 스위프트 앨범
- 스위프트 카메라
- 안드로이드 숏컷
- flutter 회전
- native flutter view
- 노티피케이션 익스텐션
- Swift flutterviewcontroller
- 스위프트 웹뷰
- FlutterView MethodChannel
- NotificationService Extension
- 안드로이드 에러
- 안드로이드 바로가기
- 앱 백그라운드 푸시 데이터 저장
- 플러터 뷰 컨트롤러
- flutter rotate
- swift sms
- 스위프트 테이블 뷰 셀
- silent push
- swift autolayout
- 푸시 데이터 저장
- Swift flutterview
- 안드로이드 FCM
- Flutter NativeView
- swift 문자
- Today
- Total
목록Study (178)
Things take time
[시스템 사운드] 말 그대로 디바이스 내에 저장되어 있는 음악 파일들이다. 경로는 /System/Library/Audio/UISounds/ 하위에 있는 파일 들인데, 이 파일들을 불러와 테이블 뷰에 뿌리고재생까지 하는 방법이다. [코드]import UIKit import AudioToolbox class SoundViewController: UIViewController, UITableViewDelegate, UITableViewDataSource { @IBOutlet weak var tvSoundList: UITableView! private var soundList: [String] = [] private let soundDirectory = "/System/Library/Audio/UISounds/..
[코드] 바로 코드로 넘어간다. let toastLabel = UILabel(frame: CGRect(x: view.frame.size.width/2 - 150, y: view.frame.size.height-100, width: 300, height : 35)) toastLabel.backgroundColor = UIColor.clear toastLabel.textColor = UIColor.black toastLabel.textAlignment = NSTextAlignment.center; view.addSubview(toastLabel) toastLabel.text = "등록되었습니다" toastLabel.font = UIFont.boldSystemFont(ofSize: 18) toastLabel...
[개요] 테이블 뷰의 행, cell의 높이는 보통 func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat { return 70 } 와 같이 heighForRowAt에서 일괄적으로 적용할 수 있다.그러나 만약 각 행에 들어가는 이미지 뷰, 텍스트 뷰 등의 크기가 유동적이라면 이 방법으로는 대응할 수 없다. 여러 구글링을 한 결과,위의 heightForRowAt함수에서 들어가는 이미지나 문자열의 길이를 계산해서 높이를 개별적으로 지정하는 방법을 사용했었으나 영문이 아닌 한글일 때 계산하는 방법 등 오래된 방법이란 것을 알았다. iOS 8버전때부터 등장한 방법으로 소개한다. [코드] // tableView의..
[현상] 테이블 뷰를 사용할 때, 구분선을 사용할 때도 있고.. 사용하지 않을 때도 있는데만약 사용한다고 하여 UITableView.separatorStyle = .singleLine 와 같이 사용했다고 가정하고, 실행하게 되면.. 각 테이블의 구분선이 왼쪽은 안나오게 된다. 이때 사용할 코드다. 스크린샷은 포토업로더 오류가 잡히면.. [코드] UITableView.cellLayoutMarginsFollowReadableWidth = false UITableView.separatorInset.left = 0