1
    The AlertView should look like this.



 AlertView Message:


     Please provide one of the following parameters to find the doctors.
                     Speciality
                     Location
                     Insurance
Srilakshmi
  • 9
  • 1
  • 4

2 Answers2

3

Use \n for a line break.

... message:@"1st line of message\n2nd line of message\n\n\n5th line of message" ...
kennytm
  • 510,854
  • 105
  • 1,084
  • 1,005
0

The UIAlertView can be cusomised :

Some info here Customizing UIAlertView

and here http://www.iphonedevsdk.com/forum/iphone-sdk-development/1704-uitextfield-inside-uialertview.html

However, I think what you want is to build a custom view, or (more simply) use an UIActionSheet - that's the device designed for the purpose!

Community
  • 1
  • 1
Andiih
  • 12,285
  • 10
  • 57
  • 88