2020. 7. 1. 00:02ㆍ개발자료/iOS
1. Target iOS13 미만으로 변경
2. AppDelegate.h 에 코드 추가
@property (nonatomic, strong) UIWindow *window;
3. AppDelegate.m 수정
Fix 버튼을 눌러 API_AVAILABLE(ios(13.0) 코드를 추가시킨다.
- (UISceneConfiguration *)application:(UIApplication *)application configurationForConnectingSceneSession:(UISceneSession *)connectingSceneSession options:(UISceneConnectionOptions *)options
- (void)application:(UIApplication *)application didDiscardSceneSessions:(NSSet<UISceneSession *> *)sceneSessions
4. SceneDelegate.m 수정
Fix 버튼을 눌러 API_AVAILABLE(ios(13.0) 코드를 추가시킨다.
- (void)scene:(UIScene *)scene willConnectToSession:(UISceneSession *)session options:(UISceneConnectionOptions *)connectionOptions
- (void)sceneDidDisconnect:(UIScene *)scene
- (void)sceneDidBecomeActive:(UIScene *)scene
- (void)sceneWillResignActive:(UIScene *)scene
- (void)sceneWillEnterForeground:(UIScene *)scene
- (void)sceneDidEnterBackground:(UIScene *)scene
'개발자료 > iOS' 카테고리의 다른 글
[Swift] 튜플(tuple) (0) | 2020.08.11 |
---|---|
[Swift] 변수, 상수 (0) | 2020.08.09 |
SceneDelegate 사용하지 않고 개발하기 (0) | 2020.06.30 |
iOS 시뮬레이터 다크모드 설정 (0) | 2020.06.30 |
No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=armv7s, VALID_ARCHS=armv7) (0) | 2020.05.21 |