Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ukdegree

macrumors newbie
Original poster
Dec 6, 2010
1
0
Hi,

I am new to xcode iPhone development. I am trying to develop an app which need to be coded with some validation.

Example:
(uilabel) option 1: _____ (uiTextfield)
(uilabel) option 1: _____ (uiTextfield)
(uilabel) option 1: _____ (uiTextfield)
(uilabel) option 1: _____ (uiTextfield)

is there any way to uniquely identify a control by its ID. like in javascript we locate a control by document.getElementbyId('').value='????'

please help me
Thanks
 
UIViews (and all subclasses) do not have a name/ID that is set automatically. If you want to do something like that it is up to you to set the documented tag property.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.