Skip to content
This repository has been archived by the owner on Sep 24, 2018. It is now read-only.

UIAlertView Deprecated, use UIAlertController under iOS 8 with extra fields #5

Open
lightbow opened this issue Nov 13, 2014 · 2 comments

Comments

@lightbow
Copy link

The current ChimpKit uses UIAlertView, which is great for iOS 7, but iOS 8 introduced UIAlertController. ChimpKit should check for iOS 8 and use the new class, which also provides the ability to add more than one text field. It would be great opportunity to have the user supply FirstName / LastName in addition to email address.

@parrots
Copy link

parrots commented Jan 22, 2016

I'm a little worried to see no movement on this. UIAlertView is now deprecated, and I'm assuming iOS 10 may remove it completely.

@lightbow
Copy link
Author

Right, anyone building with a target of iOS 9 (within the next 6 months or so, pretty much anyone who actually keeps their app up to date) or later will receive a compiler error:

CKSubscribeAlertView.h:11:35: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants