iOS195 [iOS] rootViewController 변경하기 iOS 13: Swift - 'Set application root view controller programmatically' does not work I have following code in my AppDelegate.swift to setup root view controller for an iOS application. But it does not work. It follows Target structure (defined under General tab) and ignores this co... stackoverflow.com rootViewController 변경하기 SceneDelegate.swift 삭제 Info.plist의 Application Scene Manifest 키 삭제 Ap.. 2021. 6. 15. [iOS Issue] Remote Notification이 두 번 생성되는 이슈 iOS device receiving push notifications twice · Issue #195 · OneSignal/OneSignal-Flutter-SDK Whenever I send a notification to an iOS device the notification is coming through twice. I found something related to this on the onesignal website here: https://documentation.onesignal.com/docs/d... github.com 오래된 비정상 토큰에 의한 문제이며 앱을 삭제 후 재설치하면 해결됨. 2021. 6. 4. [iOS Issue] CustomView에서 sublayer 추가 시 이슈 카메라 프리뷰를 보여주는 Custom View를 만들던 중 AVCaptureVideoPreviewLayer를 superView frame에 맞춰서 sublayer로 넣었으나 superView의 크기 계산이 sublayer를 추가하고 난 이후에 이루어져서 계속 크기가 틀어짐 그래서 기존 custom View의 Main layer 클래스를 AVCaptureVideoPreviewLayer 로 바꾸어서 해결 // // CameraView.swift // MyFoundation // // import UIKit import AVFoundation open class CameraView: UIView { private lazy var captureDevice = AVCaptureDevice.default(for: .. 2021. 6. 4. [iOS] UIWindow Apple Developer Documentation developer.apple.com UIWindow 앱 UI의 배경 View들에게 event를 보내는 object UIView를 상속 받는다. ViewController와 함께 event들을 다루고 앱 운영에 기반한 많은 태스크들을 수행한다. windows를 사용하는 경우 앱의 콘텐츠를 표시하기 위해서 메인 윈도우를 제공해야할 때 추가적인 콘텐츠를 표시하기 위해 추가적인 윈도우들을 만들어야 할 때 보통 Xcode는 앱의 메인 윈도우를 제공함. storyBoard는 AppDelegate에 window 프로퍼티를 요청하게 된다 즉 storyBoard를 사용하는 경우라면 자동으로 AppDelegate에 window프로퍼티가 생성된다. 하지만 storyBoa.. 2021. 6. 3. 이전 1 ··· 38 39 40 41 42 43 44 ··· 49 다음