아이폰 개발(129)
-
iPad에서 공유하기 처리 안되는 문제 해결
iPhone에서는 다음과 같은 방법은 쉽게 처리가 되는데, iPad에서만 이 방식으로는 처리가 안되는 문제가 발생하였다. https://maivve.tistory.com/175 [Swift] iOS의 Native 기능인 공유하기(Share) 를 구현해보자! 안녕하세요. *** 버전 체크 하고 진행하세요! - Swift : 5 - XCode : 11.5 - iOS : min 9.0 주로 특정 파일, URL, TEXT 를 카카오톡, SNS, 메세지 등 다른 앱에다 공유하고자 할 때 사용됩니다. 그럼 공유하기 의.. maivve.tistory.com 이것 저것 테스트를 해보니, sourceRect가 빠진 경우에 iPad에서 문제가 생기는 것이었다. let objectsToShare = [textToShare]..
2021.12.08 -
Swift QR코드 스캔 기능 구현
아주 훌륭한 레퍼런스가 있어서 손쉽게 구현이 가능하다. 복잡하고 번거로운 ZXing을 더이상 사용하지 않아도 되는 것에 감사할뿐. https://swieeft.github.io/2020/02/25/QRCodeAndBarcodeReader.html QR, Barcode 리더기 만들기 - 뀔뀔(swieeft)의 개발새발기 흔히 사용되지는 않지만 종종 QRcode나 Barcode를 인식해서 나온 데이터로 상품을 등록하거나, 가계부를 작성하는 등 기능을 구현해야 되는 일이 있습니다. 저도 최근에 해당 기능을 구현할 기회가 swieeft.github.io https://github.com/swieeft/QRCodeAndBarcodeReader GitHub - swieeft/QRCodeAndBarcodeReader..
2021.11.08 -
iOS 앱 Firebase 딥링크 연동
Firebase 공식 문서에는 Xcode 화면을 캡쳐 없이 말로만 설명을 하니 바로 이해가 안되는 부분이 있다. https://firebase.google.com/docs/dynamic-links/ios/receive?hl=ko iOS에서 동적 링크 수신 | Firebase 생성한 Firebase 동적 링크를 수신하려면 앱에 동적 링크 SDK를 포함하고 앱이 로드될 때 handleUniversalLink: 및 dynamicLinkFromCustomSchemeURL: 메서드를 호출하여 동적 링크로 전달된 데이터를 가져와야 합니 firebase.google.com https://www.donnywals.com/handling-deeplinks-in-your-app/ Handling deeplinks in y..
2021.08.23 -
Swift TableView Paging 구현
section을 이용하여 스크롤시 자동으로 다음을 로딩할때 사용할수 있다. https://swieeft.github.io/2020/07/20/PagingTableView.html UITableView Paging 구현하기 - 뀔뀔(swieeft)의 개발새발기 안녕하세요. 장마철에 날씨도 꿉꿉해서 나가기 싫어지는 날씨입니다. 이런 날에는 그냥 집에서 에어컨 바람 맞으면서 가만히 있고 싶지만 일을 해야 한다는 슬픈 현실을 마주하며 포스팅을 시 swieeft.github.io
2021.07.28 -
Swift Push notification 처리
맨날 까먹음 https://www.raywenderlich.com/11395893-push-notifications-tutorial-getting-started Push Notifications Tutorial: Getting Started Push notifications allow developers to reach users, even when users aren’t actively using an app! In this tutorial, you’ll learn how to configure your app to receive push notifications and to display them to your users or perform other tasks. www.raywenderlich.co..
2021.07.22 -
Custom TabBarController 만들기
크게 손대지 않고 커스텀 탭바를 만들고 싶을때 도움이 된다. https://stackoverflow.com/questions/59091488/swift-custom-tabbar-with-center-rounded-button Swift: Custom TabBar with center rounded button I try to create custom tabbar like the below picture: Below is the result i get: Below is my current code: class CustomTabBarController: UITabBarController { override func viewDidLoad() { ... stackoverflow.com https://better..
2021.07.20