Not sure if it's related to my problem but my last textfield on the view has 
its returnKeyType set to UIReturnTypeGo. I've tried to find more about what 
this does when the return key on the keyboard is pressed but I don't seem to 
find anything explaining what is triggered by this return key type. So, anyone 
knows? In 3.2, it used to dismiss the UIAlertView but in 4.3, I'm not sure and 
I'm wondering if that could be the cause of my problem. When the crash occurs, 
here is the stacktrace:

#0      0x0117d000 in objc_assign_ivar ()
#1      0x0341fc34 in -[AppleSpell init] ()
#2      0x00620538 in -[UITextChecker _checker] ()
#3      0x00621de9 in -[UITextChecker 
checkSpellingOfString:startingAt:language:wrap:correction:] ()
#4      0x0ca1f725 in 
TIInputManagerZephyr::lookup_spellcheck_candidates(KB::String const&) ()
#5      0x0ca1f609 in 
TIInputManagerZephyr::lookup_static_dynamic_candidates(KB::String const&, 
KB::String const&, KB::Vector<KB::FPoint> const&, bool) ()
#6      0x0ca1cb2b in TIInputManager::lookup() ()
#7      0x0ca1ce18 in TIInputManager::autocorrection() ()
#8      0x0ca3406b in -[TIKeyboardInputManagerZephyr autocorrection] ()
#9      0x00408be8 in -[UIKeyboardImpl generateCandidatesWithCompletions:] ()
#10     0x00408c3b in -[UIKeyboardImpl generateCandidates] ()
#11     0x00415a23 in -[UIKeyboardImpl addInputString:fromVariantKey:] ()
#12     0x00417658 in -[UIKeyboardImpl handleKeyEvent:] ()
#13     0x0067a759 in -[UIAlertView(Private) _handleKeyEvent:] ()
#14     0x002db01c in -[UIApplication handleEvent:withNewEvent:] ()
#15     0x002d2abf in -[UIApplication sendEvent:] ()
#16     0x002d7f2e in _UIApplicationHandleEvent ()
#17     0x018b2992 in PurpleEventCallback ()
#18     0x00f3b944 in 
__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ ()
#19     0x00e9bcf7 in __CFRunLoopDoSource1 ()
#20     0x00e98f83 in __CFRunLoopRun ()
#21     0x00e98840 in CFRunLoopRunSpecific ()
#22     0x00e98761 in CFRunLoopRunInMode ()
#23     0x018b11c4 in GSEventRunModal ()
#24     0x018b1289 in GSEventRun ()
#25     0x002dbc93 in UIApplicationMain ()
#26     0x00002230 in main at 
/Users/laurent/Documents/Development/Personal/iPhone/GreenBox/main.m:14

I'm not sure why what seems to be autocorrection is called since this 
particular UITextField, since it holds only number, has Capitalization set to 
NO and Correction also set to NO. In fact, the 2 other UITextField on the 
UIAlertView have both Capitalization and Correction set to NO.

Anyone has any idea?

-Laurent.
-- 
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin                                 
http://www.nemesys-soft.com/
Logiciels Nemesys Software                                      
laur...@nemesys-soft.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to