RE: why textFieldShouldBeginEditing is called twice in iOS4?
RE: why textFieldShouldBeginEditing is called twice in iOS4?
- Subject: RE: why textFieldShouldBeginEditing is called twice in iOS4?
- From: "Rufat A. Abdullayev" <email@hidden>
- Date: Fri, 3 Sep 2010 10:58:58 +0500
- Acceptlanguage: en-US
- Thread-topic: why textFieldShouldBeginEditing is called twice in iOS4?
Hi Matt
In prev iOS textFieldShouldBeginEditing was called once after update to iOS4 I noticed that this event calling twice
This occurs not only with my appl but with others' developers too
Here is a link (for an example)
http://jomnius.blogspot.com/2010_07_01_archive.html
Why this event called once in prev iOS and twice after update to iOS4?
If it is presumably due to something I'm doing it would be so in prev iOS too, was not ?
Cheers,
Rufat
-----Original Message-----
From: Matt Neuburg [mailto:email@hidden]
Sent: Monday, August 30, 2010 11:10 PM
To: Rufat A. Abdullayev
Cc: email@hidden
Subject: Re: why textFieldShouldBeginEditing is called twice in iOS4?
On Mon, 30 Aug 2010 09:52:00 +0500, "Rufat A. Abdullayev"
<email@hidden> said:
>Hi All
>
>Sorry if that topic is already there in the mailing list (actually I could not
find it)
>
>I noted that textFieldShouldBeginEditing of an UITextField called twice in
iOS4. This is probably bug in iOS4
>
>Though I found work-around (just checking some BOOL variable to avoid code
execution twice) this work-around is not so smart for me.
>
>Are there any other smart solutions to avoid textFieldShouldBeginEditing
execution twice in iOS4?
To be smart:
(1) Figure out which list is the right list before posting. This isn't it.
(2) Make a very, very simple test case (a vanilla project consisting of a
text field in a window and nothing else). When you do, you'll discover that
what you're saying is false: textFieldShouldBeginEditing is *not* "called
twice". So the problem is presumably due to something you're doing.
m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.tidbits.com/matt/default.html#applescriptthings
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden