문제

I want to display text in italic in UIAlertView. I would like to know how to do so.

I am currently thinking as follows:- There is no explicit label in an alert view. So we cannot set the font attribute. We just have an NSString in the message parameter of UIAlertView

Correct me if I am wrong.

So is there any solution or alternative?

올바른 솔루션이 없습니다

다른 팁

There is no way to modify the text attribute in UIAlertView in iOS 7. It was possible in iOS 6.

One solution is to recreate the UIAlertView. This is relatively easy, explained in depth here. Or if you browse around GitHub there might be an implementation of it already.

Edit: Here is an implementation in GitHub.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top