2017-09-12 1 views
0

Xcode 9 베타 6으로 내 앱을 컴파일하는 동안이 성가신 버그가 발생했습니다. 시뮬레이터와 장치에서 발생합니다. 숫자 키패드가 작동 중입니다. default keyboardiOS 11 베타 9 빈 키보드 키

numeric

어떤 생각?

+0

(아주 가능성이없는 코드에서 오류, 당신은 개인 API를 사용하여 작업하는 경우 제외), 레이더 파일. – the4kman

+0

또한 ios 11 GM – Zaster

+0

으로 컴파일되지 않습니다. 운영. https://bugreport.apple.com의 파일 – matt

답변

1

이것은 GM 시드에서도 발생합니다.

다음 확장 프로그램을 구현할 때 내부 iOS 11 문제로 인해 발생합니다. 확장을 제거하면 키보드가 돌아옵니다. UIView의 + TintColor.h

#ifndef UIView_TintColor_h 
#define UIView_TintColor_h 

#import <UIKit/UIKit.h> 
@interface UIView (TintColor) 
@property (nonatomic,retain) UIColor* tintColor; 
@end 
#endif /* UIView_TintColor_h */ 

의 UIView + TintColor.m

그것은 버그
#import <Foundation/Foundation.h> 
#import "UIView+TintColor.h" 
#import <objc/runtime.h> 

static char const * const tintColorKey = "tintColorKey"; 

@implementation UIView (TintColor) 

-(UIColor*)tintColor 
{ 
    return objc_getAssociatedObject(self , tintColorKey); 
} 

-(void)setTintColor:(UIColor *)tintColor 
{ 
    objc_setAssociatedObject(self, tintColorKey, tintColor, OBJC_ASSOCIATION_RETAIN_NONATOMIC); 
} 

@end 
관련 문제