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

sujithkrishnan

macrumors 6502
Original poster
May 9, 2008
265
0
Bangalore
Hi all,

In my iPhone Application, i want a address field.. which is obviously a multi-line field.
But i didn't find any property in UITextField to set it as multi-line.
I know that i will get multi-line by making use of UITextView, But the textView is appearing with no border.
So i want either a textField with multiline option or a textView with borderStyle.

Please help ASAP...

Thanks...
 
Hi all,

In my iPhone Application, i want a address field.. which is obviously a multi-line field.
But i didn't find any property in UITextField to set it as multi-line.
I know that i will get multi-line by making use of UITextView, But the textView is appearing with no border.
So i want either a textField with multiline option or a textView with borderStyle.

Please help ASAP...

Thanks...

I am looking for a solution to this.

Any Luck ?

So far the option seems to be to use a TextView and have a 'Done' button seperate from the Keyboard.

A IUtextField is much better but how to set it to multiline is driving me nuts. I have read it can be done
comment on downloadsquad said:
It took me 2 days to figure out how to do a multiline text box where in C# its a simple property

The functionality can be hacked together with TextView and a button to press to make the keyboard go away - but Textfield & multiline would be so much better - i suppose the theory is that people would want to use the 'return' key on a multiline textfield -> no done button ?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.