ios(23)
-
[Xcode] iPhoneOS DeveloperDiskImage 13.5
Path : /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/13.5 압축도구 : Keka https://github.com/aonez/Keka/releases
2020.09.07 -
Device Screen Sizes and Orientations
# Device Dimensions (portrait) 12.9" iPad Pro 1024pt × 1366pt (2048px × 2732px @2x) 11" iPad Pro 834pt × 1194pt (1668px × 2388px @2x) 10.5" iPad Pro 834pt × 1194pt (1668px × 2388px @2x) 9.7" iPad Pro 768pt × 1024pt (1536px × 2048px @2x) 7.9" iPad mini 768pt × 1024pt (1536px × 2048px @2x) 10.5" iPad Air 834pt × 1112pt (1668px × 2224px @2x) 9.7" iPad Air 768pt × 1024pt (1536px × 2048px @2x) 10.2" ..
2020.09.07 -
APNS (iOS8 이전)
# 등록 UIApplication *appDelegate = [UIApplication sharedApplication]; [appDelegate registerForRemoteNotificationTypes:(UIRemoteNotificationTypeNewsstandContentAvailability | UIRemoteNotificationTypeAlert | UIRemoteNotificationTypeBadge | UIRemoteNotificationTypeSound )]; # 등록 결과 처리 // APNS 등록 성공 시 호출 - (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken..
2020.09.07 -
NSDictionary <null> 값 비교 처리
# 방법 1 if([[dictionary objectForKey:@"Field"] isKindOfClass:[NSNull class]]){ } # 방법 2 if ([dictionary objectForKey:@"Field"] == (NSString *)[NSNull null]){ } # 방법 3 if ([dictionary objectForKey:@"Field"] == (id)[NSNull null]) { }
2014.11.25 -
UITextField
## 글자수 입력 제한 Ex) 4자까지만 입력가능] #pragma mark - UITextFieldDelegate - (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string { NSString *newString = [textField.text stringByReplacingCharactersInRange:range withString:string]; int length = [newString length] ; if (length >= 4) { textField.text = [newString substringToIndex:4]; return..
2014.10.28