0

I have custom alert view in iOS 6.0, which provide multiple labels and one button.In iOS 6.0 it is running properly, But in iOS 7.0 custom alert view coming in white alert view and all label disappearing.

Any Solution?

Thanx.

Arun Bertil
  • 4,598
  • 4
  • 33
  • 59
user968597
  • 1,164
  • 2
  • 15
  • 30
  • 3
    Have a look at here http://stackoverflow.com/questions/18895106/alert-view-is-showing-white-rectangle-in-ios7/18895189#18895189 – Nagendra Tripathi Sep 23 '13 at 06:14
  • possible duplicate of [UIAlertView addSubview in iOS7](http://stackoverflow.com/questions/18729220/uialertview-addsubview-in-ios7) – Sulthan Sep 23 '13 at 07:05

1 Answers1

0

I have not tested it completely, but on subclassing a UIAlertView, you might be able to add subviews. The [self addSubview:] method can still be called from inside the init method of the subclassed alertView. I presume, it will be available in other parts of the code too.

You should try subclassing it.

n00bProgrammer
  • 4,261
  • 3
  • 32
  • 60