2011-08-17 9 views
0

xib 파일에서 UITextField를 가져 왔습니다. 어떤 이유로, 내가 입력 한 두 번째 키 (또는 어떤 이유로 첫 번째 숫자)에서 충돌이 발생합니다. EDIT : 언급하는 것을 잊어 버렸습니다. EXC_BAD_ACCESS와 충돌합니다. NSZombieEnabled = YES는 아무 것도 변경하지 않습니다. 표시 할 코드가 없습니다. xib 파일 일뿐입니다.형식에 따라 UITextField가 충돌 함

#0 0x011d9000 in objc_assign_ivar() 
#1 0x031f2c34 in -[AppleSpell init]() 
#2 0x00384538 in -[UITextChecker _checker]() 
#3 0x00385de9 in -[UITextChecker checkSpellingOfString:startingAt:language:wrap:correction:]() 
#4 0x0c01f725 in TIInputManagerZephyr::lookup_spellcheck_candidates() 
#5 0x0c01f3f3 in TIInputManagerZephyr::lookup_static_dynamic_candidates() 
#6 0x0c01cb2b in TIInputManager::lookup() 
#7 0x0c01ce18 in TIInputManager::autocorrection() 
#8 0x0c03406b in -[TIKeyboardInputManagerZephyr autocorrection]() 
#9 0x0016cbe8 in -[UIKeyboardImpl generateCandidatesWithCompletions:]() 
#10 0x0016cc3b in -[UIKeyboardImpl generateCandidates]() 
#11 0x00179a23 in -[UIKeyboardImpl addInputString:fromVariantKey:]() 
#12 0x0017b71b in -[UIKeyboardImpl handleKeyEvent:]() 
#13 0x002a72ee in -[UIKeyboardLayoutStar sendStringAction:forKey:]() 
#14 0x002abd19 in -[UIKeyboardLayoutStar touchUp:]() 
#15 0x00188da2 in -[UIKeyboardLayout touchesEnded:withEvent:]() 
#16 0x00055ded in -[UIWindow _sendTouchesForEvent:]() 
#17 0x00036c37 in -[UIApplication sendEvent:]() 
#18 0x0003bf2e in _UIApplicationHandleEvent() 
#19 0x011ef992 in PurpleEventCallback() 
#20 0x00f97944 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__() 
#21 0x00ef7cf7 in __CFRunLoopDoSource1() 
#22 0x00ef4f83 in __CFRunLoopRun() 
#23 0x00ef4840 in CFRunLoopRunSpecific() 
#24 0x00ef4761 in CFRunLoopRunInMode() 
#25 0x011ee1c4 in GSEventRunModal() 
#26 0x011ee289 in GSEventRun() 
#27 0x0003fc93 in UIApplicationMain() 
#28 0x000026c9 in main (argc=1, argv=0xbffff678) at main.m:15 

는 사람이 될 수 있습니다 알고 있나요/해결 방법을 위해 :이 철수입니까?

Tnx 미리!

+0

여기에서 답을 찾을 수 있습니다. [link] (http://stackoverflow.com/questions/5257175/uitextfield-auto-correction-crash-in-ios-4-3-on-simulator) – Gyani

답변

2

자세한 정보를 제공해야합니다. 그게 당신의 앱을 부수는 유일한 분야입니까? 항상 이런 식으로 행동 했습니까?

그건 마치 자동 완성 인 것처럼 보입니다. 해당 필드 (IIRC, 인터페이스 작성기에 대한 옵션)에 대한 자동 완성을 비활성화하십시오.

+0

[또는 자동 완성 사용 안함 시뮬레이터 내부] (http://stackoverflow.com/questions/5257175/uitextfield-auto-correction-crash-in-ios-4-3-on-simulator/6645462#6645462). – jlstrecker