Ok, we assume that now we can't add subviews in AlertViews since ios7. But when we need to popup a new little view for the user to input some data, what we have to do ? What apple says we have to do now ?
Asked
Active
Viewed 1,407 times
1 Answers
0
You can create your own custom alert.
I explain here a way how to do that.

Community
- 1
- 1

Jordan Montel
- 8,227
- 2
- 35
- 40
-
Yes, but it has no sense... Has IOS7 another view where we can add subviews for user input ? – Fischer Oct 09 '13 at 15:57
-
No sense ? Here you add a new view and you add what you want inside this view, textfields, labels, button, collectionview, etc. and you pop-up this view with an animation like a UIAlertView – Jordan Montel Oct 09 '13 at 15:58
-
Of course, your view is good. But I mean... seems thatinstead of moving forward, we're going back with ios 7. With ios6 we could do an input from the user very quick with few lines, now we need to write lot of code for the same ... – Fischer Oct 09 '13 at 16:01
-
Yep so bad. You can have a look here : https://github.com/m1entus/MZFormSheetController – Jordan Montel Oct 09 '13 at 16:03
-
I was trying with it https://github.com/wimagguc/ios-custom-alertview ... but it only supports ios7 . I want compatibility with ios6 as well. Then I get errors. – Fischer Oct 09 '13 at 16:07