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 11:05:50 +0500
- Acceptlanguage: en-US
- Thread-topic: why textFieldShouldBeginEditing is called twice in iOS4?
Hi,
In prev email see this link as an example that textFieldShouldBeginEditing is called twice in iOS4
http://jomnius.blogspot.com/2010/07/uitextfield-textfieldshouldbeginediting.html
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