LXAlertViewDemo icon indicating copy to clipboard operation
LXAlertViewDemo copied to clipboard

效果很好,但是如何把键盘弹出事件考虑进去呢

Open fantasticiOS opened this issue 8 years ago • 3 comments

如题,键盘弹出事件需要能够将自定义alert上移,当键盘消失时需要将alert回到最初的位置

fantasticiOS avatar Apr 21 '16 03:04 fantasticiOS

可以配合这个试试https://github.com/hackiftekhar/IQKeyboardManager

xinge1 avatar Apr 21 '16 06:04 xinge1

好的,谢谢.我属于入门级开发者,很多东西不懂.看了好久你的代码,愣是没找到设置alert坐标的代码在哪里.可否告知一下

fantasticiOS avatar Apr 21 '16 06:04 fantasticiOS

LXAlertView.m第87行,如果还找不到可以在Xcode里搜索_alertView.frame

xinge1 avatar Apr 21 '16 08:04 xinge1