커스텀 키보드를 설정한 후 마이 앱에서 커스텀 키보드를 한번 열었다가 메뉴를 전환해서 커스텀 인풋뷰로 스위칭하면 커스텀 키보드가 인풋뷰 위를 덮는다

인풋뷰가 UIView 면 발생하지 않으나 UIViewController 인 경우 시그널을 받는건지 키보드가 자연스레 올라온다


이런 젠장

하루하루 풀어나가야 할 버그는 늘어만 가는데 해결되는 건 없구나...


AppDelegate api 중에

   - (BOOL)application:(UIApplication *)application shouldAllowExtensionPointIdentifier:(NSString *)extensionPointIdentifier 

가 있는데 키보드를 열때마다 호출된다. 


여기서 extensionPointIdentifier 가 UIApplicationKeyboardExtensionPointIdentifier인 경우 NO를 리턴하면 커스텀 키보드가 실행되지 않는다.


버뜨!!

내가 원하는 건 특정 상황에서만 사용하지 않는 것이므로 조건을 주어 처리. 해결해보리라.







+ Recent posts