I am adding UIButton to UIAlertView as below
it is fine with iOS 6 and below now in iOS 7 it comes like this
Please let us know the way to resolve this issue.
I am adding UIButton to UIAlertView as below
it is fine with iOS 6 and below now in iOS 7 it comes like this
Please let us know the way to resolve this issue.
You can't add any view as a sub view in alert view as per the IOS 7 standard. please refer apple document. (UIAlert view customization not possible in IOS 7)
You can find the answer on this link
But this is wrong approach , you can see this on same link
Alertview
should only use to show below details
Be immediately informed of critical information
Make a decision about a course of action
For above task you should use pickerview
or tableview
depends on the requirement.