How to add text in multiple lines in message field of UIAlertView
The AlertView should look like this开发者_如何学Go.
AlertView Message:
Please provide one of the following parameters to find the doctors.
Speciality
Location
Insurance
Use \n
for a line break.
... message:@"1st line of message\n2nd line of message\n\n\n5th line of message" ...
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!
精彩评论