Page 1 of 1

Native Control Messages

Posted: Fri Feb 24, 2012 11:48 pm
by Doug Lyman
How does one retrieve the input id of a native IOS control inside of an "inputBeginEditing" message?

Re: Native Control Messages

Posted: Sat Feb 25, 2012 12:09 am
by bn
Hi Doug,

wouldn't

iphoneControlTarget()

get you the id?

from the iOS Release Notes
While in the context of a message that has been dispatched from a native control, you can use the iphoneControlTarget() function to fetch the name (or id, if no name is set) of the control that sent the message.
KInd regards

Bernd

Re: Native Control Messages

Posted: Sat Feb 25, 2012 1:15 am
by Doug Lyman
Perfect! I obviously did not dig deep enough into the doc. Thanks for saving me some time Bernd.

Best,

Doug.