일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- Animation
- ipad
- button
- image
- hover
- react
- front-end
- effect
- php
- 백엔드
- jQuery
- iPhone
- 애니메이션
- CSS
- MAC
- 비전공 개발자
- SWIFT
- 자바스크립트
- 비전공자
- css3
- HTML
- xcode
- html5
- javascript
- 개발자
- 프론트엔드
- IOS
- keyframes
- 풀스택
- iOS 개발자
- Today
- Total
목록ipad (40)
비전공자 개발일기

import UIKit class ViewController: UIViewController { @IBOutlet weak var imageView: UIImageView! let imagePicker = UIImagePickerController() var selectedImage = UIImage() override func viewDidLoad() { super.viewDidLoad() imagePicker.delegate = self imageView.backgroundColor = .brown } @IBAction func cameraBTN(_ sender: UIButton) { imagePicker.sourceType = .camera present(imagePicker, animated: t..

... // HTML 전화 ... ... // Swift extension ViewController: WKNavigationDelegate { func webView(_ webView: WKWebView, decidePolicyFor navigationAction: WKNavigationAction, decisionHandler: @escaping (WKNavigationActionPolicy) -> Void) { if let url = navigationAction.request.url { if url.scheme == "tel" { if UIApplication.shared.canOpenURL(url) { UIApplication.shared.open(url, options: [:], complet..
과정 WKWebView를 이용하여 어플을 제작하는 과정에서 기기의 이미지를 웹에 미리보기 같은 곳에서 보여주고 그 정보를 기기로 가져오는 단계에서 data가 출력이 안되는 문제 발생 분석 ... ... 웹에서 하나 하나 출력을 해본 결과 정상적으로 잘 나오는 것을 확인 func userContentController(_ userContentController: WKUserContentController, didReceive message: WKScriptMessage) { ... if message.name == "imageSelected", let messageBody = message.body as? [String: Any], let dataString = messageBody["data"] as? ..

목적 웹 페이지 내 Javascript의 alert event를 iOS 기기에서도 동일하게 나타내기 위함 import UIKit import WebKit class ViewController: UIViewController, WKNavigationDelegate { var webView: WKWebView! override func loadView() { let webConfiguration = WKWebViewConfiguration() webView = WKWebView(frame: .zero, configuration: webConfiguration) webView.navigationDelegate = self webView.uiDelegate = self webView.allowsBackForwa..

1. pod init 2. PodFile pod 'TAKUUID' 추가 후, pod install 3. import TAKUUID 추가 import UIKit import TAKUUID // iOS 디바이스의 고유 아이디(UUID - KeyChain) -> 공장초기화를 하지않는 이상 앱을 삭제했다가 재설치를 하더라도 이 값은 그대로 유지 및 저장됨 class ViewController: UIViewController { @IBOutlet weak var uuidInTheKeyChain: UILabel! override func viewDidLoad() { super.viewDidLoad() initUUID() } private func initUUID() { TAKUUIDStorage.sharedInst..

백그라운드(Background) 상태 앱의 UI가 사용자 눈에는 보이지 않지만 특정 기능을 수행하는 앱의 경우에는 계속 실행되는 상태( ex) 음악, 지도 등) 포그라운드(Foreground) 상태 앱의 사용자가 보고 있는 화면 Background Mode Setting 예시 코드 import UIKit import CoreLocation class ViewController: UIViewController { var locationManager: CLLocationManager! override func viewDidLoad() { super.viewDidLoad() locationManager = CLLocationManager() locationManager.delegate = self locati..

프로젝트 제작을 위해 기능별로 나눠둔 부분들을 하나로 합치던 과정에서 생긴 에러 Thread 1: "Invalid parameter not satisfying: !stayUp || CLClientIsBackgroundable(internal->fClient) || _CFMZEnabled()" 원인 1. Capability - Background mode가 없었던 것 2. Background mode 추가 후 Location updates를 체크하지 않았던 것 해결 1. Capability - Background mode를 추가 2. Background mode 추가 후 Location updates를 체크

Text Soap An iMessage chat becomes fodder for daytime drama This begins one morning with my friend in San Diego telling me about an earthquake they just had. It was loud. We just laid there and said “is this an earthquake? I think this is an earthquake.” Like is this an earthquake just go back to sleep It’s more like “this is an earthquake. Check the Internet. Yup. Earthquake. This is the size. ..