ios(23)
-
info.plist
## 카메라 권한 NSCameraUsageDescription 카메라를 사용하는 이유 ## 위치 권한 NSLocationAlwaysUsageDescription 위치 정보 사용 이유 NSLocationWhenInUseUsageDescription 위치 정보 사용 이유 ## 사진앨범 권한 NSPhotoLibraryAddUsageDescription 사진 앨범을 사용 이유 NSPhotoLibraryUsageDescription 사진 앨범을 사용 이유 ## Font 폰트 UIAppFonts FontFile1.ttf FontFile2.ttf FontFile3.ttf ## 스키마 허용 목록 LSApplicationQueriesSchemes app-scheme1 app-scheme2 ## 네트워크 권한 NSAppT..
2021.04.08 -
NSURL
# NSURL 생성 NSString *strUrl = @"https://johnny:p4ssw0rd@www.example.com:443/script.ext;param=value?query=value#ref"; NSURL *url = [NSURL URLWithString:strUrl]; var strUrl = "http://someurl.com/something" var url = URL(string: strUrl) var domain = url?.host # NSURL 객체 구조 https://johnny:p4ssw0rd@www.example.com:443/script.ext;param=value?query=value#ref Component Value scheme https user johnny pas..
2021.04.08 -
iPhone 생체인증(Biometrics) 지원여부 확인
## 생체인증(Biometrics) 지원여부 - (BOOL) isSupportBiometric { if (![LAContext class]) { return NO; } LAContext *laContext = [[LAContext alloc] init]; NSError *error = nil; if (![laContext canEvaluatePolicy:LAPolicyDeviceOwnerAuthenticationWithBiometrics error:&error]) { return NO; } return YES; } ## 지문인증(TouchID) 지원여부 - (BOOL) isSupportTouchID { if (![LAContext class]){ return NO; } LAContext *laContex..
2021.03.12 -
[Application] The app delegate must implement the window property if it wants to use a main storyboard file.
Xcode12.2 에서 Run 실행시 검은색 화면만 나오는 문제 발생 콘솔로그에 아래 메시지가 노출 [Application] The app delegate must implement the window property if it wants to use a main storyboard file. ▦ 해결 방법 AppDelegate.h @interface AppDelegate : UIResponder @property (strong, nonatomic) UIWindow *window; // 추가 @end
2021.03.09 -
Xcode 지원 정보
developer.apple.com/kr/support/xcode/ Xcode - 지원 - Apple Developer 문의하기 어떻게 도와드릴 수 있는지 알려주시면 핸드폰이나 이메일을 통해 해결 방법을 찾아드립니다. 지원받기 developer.apple.com 최소 요구 사항 및 지원되는 SDK Xcode 버전필요한 최소 OSSDK아키텍처OS시뮬레이터Swift Xcode 12.3 베타 macOS Catalina 10.15.4(Intel 기반 Mac) macOS Big Sur 11.0 (Apple 실리콘 기반 Mac) iOS 14.3 macOS 11.1 tvOS 14.3 watchOS 7.3 DriverKit 20.0 x86_64 armv7 armv7s arm64 arm64e iOS 9.0-14.3 iP..
2020.12.26 -
[알림] 최신 코드 서명 형식 사용
iOS14.2로 업데이트 하고 난 후 구버전 앱을 실행하니 아래와 같은 알림창이 나타남. 'XXX'의 업데이트가 필요함 이 앱은 앞으로 출시될 iOS 버전과 호환되지 않습니다. 이 앱의 개발자가 앱을 업데이트하여 호환성을 향상해야 합니다. # 앱에 새 서명이 필요한지 확인 % codesign -dv /path/to/MyApp.app CodeDirectory v=20400 보다 작은경우 re-signed 을 해야 한다. # 리사인(re-signed) % codesign -s "Your Codesign Identity" -f --preserve-metadata /path/to/MyApp.app 더 알아보기 https://developer.apple.com/documentation/xcode/using_the..
2020.11.27