Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Title & message in AlertController.init(view: ...) #31

Closed
akabab opened this issue Nov 23, 2017 · 7 comments
Closed

Title & message in AlertController.init(view: ...) #31

akabab opened this issue Nov 23, 2017 · 7 comments

Comments

@akabab
Copy link

akabab commented Nov 23, 2017

Hey @KyoheiG3,

how can I have the Title + message view still when I use the AlertController.init(view: ...) initializer.
It's seems that you replace the 'basic view' with the view passed as parameter, is there any way to keep both views?

Thanks

@KyoheiG3
Copy link
Owner

Hi @akabab
It cannot keep title with your view. But, I think that's good idea.
Thank you.

@akabab
Copy link
Author

akabab commented Nov 24, 2017

@KyoheiG3 yeah actually I'd like that to be possible, any idea how to realise it easily ? thanks

@KyoheiG3
Copy link
Owner

It is the easiest that add Title on your view. Or I'm going to try to add View between Contents and Buttons if I had a lot of time to do.

@KyoheiG3
Copy link
Owner

You can also use configContentView closure. It can add View on the Alert.

@KyoheiG3
Copy link
Owner

@akabab It's supported in #32 on greater than iOS8.

@akabab
Copy link
Author

akabab commented Nov 30, 2017

@KyoheiG3 Thanks for the support, is it in a release on cocoapod?

@KyoheiG3
Copy link
Owner

KyoheiG3 commented Dec 1, 2017

@akabab Yes, you can use it on cocoapods.

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

No branches or pull requests

2 participants