개발자료/iOS(112)
-
앱 설정 화면 이동
Objective-C NSURL *url = [NSURL URLWithString:UIApplicationOpenSettingsURLString]; [[UIApplication sharedApplication] openURL:url]; Swift UIApplication.shared.open(URL(string:UIApplication.openSettingsURLString)!) _____
2022.08.29 -
[Error] Exception in filter Request processing failed; nested exception is org.springframework.web.multipart.MultipartException: Failed to parse multipart servlet request; nested exception is org.apache.commons.fileupload.FileUploadException: Stream end..
현상 iOS NSURLSession 파일 업로드중 서버 오류 발생. PHP 서버에서는 정상적으로 동작하는 코드가 SpringFramework 에서 오류 발생 원인 multipart/form-data 전송 데이터 생성시 Boundary 마지막에. --가 붙지 않아 발생한 오류 해결 방법 마지막 Boundary 뒤에 -- 추가 ------WebKitFormBoundaryuggrEmcb3XoH6hwM-- ------WebKitFormBoundaryuggrEmcb3XoH6hwM Content-Disposition: form-data; name="preImage"; filename="IMG_0043.JPG" Content-Type: image/jpeg ------WebKitFormBoundaryuggrEmcb3X..
2022.08.27 -
Xcode13 iOS15 이상에서 StatusBar 색이 나오지 않을때
_ Xcode13으로 개발툴을 업데이트후 iOS15.4.1에서 아래의 문제가 발생. UINavigationBar 의 색상등을 제어하기 위해 [UINavigationBar appearance]의 함수들을 사용했는데 이것을 Xcode13, iOS15 이상에서는 정상적으로 지원하지 않는것 같다. 관련된 코드들을 주석처리 하고 나서 정상적으로 화면이 보이는걸 확인. [UINavigationBar appearance] 관련 함수를 제거 전 [[UINavigationBar appearance] setBackgroundColor:[UIColor colorWithRed:0.973 green:0.973 blue:0.980 alpha:1.00]]; [[UINavigationBar appearance] setTransluc..
2022.05.24 -
[Error] Building for iOS, but the embedded framework 'NaverThirdPartyLogin.framework' was built for iOS + iOS Simulator.
오류메시지 Building for iOS, but the embedded framework 'NaverThirdPartyLogin.framework' was built for iOS + iOS Simulator. 해결방법 Validate Workspace 값을 Yes로 설정
2022.04.27 -
UIModalPresentationStyle
프리젠테이션 스타일은 뷰 컨트롤러가 화면에 표시되는 모양을 제어 합니다. 프레젠테이션하려는 뷰컨트롤러의 modalPresentationStyle 속성에 적절한 상수를 할당하면 됩니다. # 전체화면 프레젠테이션 스타일 UIModalPresentationFullScreen, UIModalPresentationPageSheet, UIModalPresentationFormSheet # 팝오버 스타일 UIModalPresentationPopover, UIModalPresentationOverFullScreen # 현재 컨텍스트 스타일 UIModalPresentationCurrentContext, # 사용자정의 프레젠테이션 스타일 UIModalPresentationCustom # UIModalPresentation..
2022.04.07 -
2022년 4월 25일 부터는 Xcode13(iOS SDK15) 이상에서 빌드 된 앱만 스토어 배포 가능
앱 배포 중 경고 발생해서 관련 내용 정리함. WARNING ITMS-90725: "SDK Version Issue. The app was built with the iOS 14.2 SDK. Starting April 25, 2022, all iOS apps submitted to the App Store must be built with the iOS 15 SDK or later, included in Xcode 13 or later." 4월 25일부터 App Store 제출 요구사항이 시작됩니다 2022년 03월 15일 2022년 4월 25일부터 App Store에 제출하는 iOS, iPadOS 와 watchOS 앱은 iOS 15, iPadOS 15 및 watchOS 8 버전의 SDK를 포함하는 Xc..
2022.03.24