ISEmojiView icon indicating copy to clipboard operation
ISEmojiView copied to clipboard

Please Update this who can i open emojiKeyboard through a button click

Open ProKashif opened this issue 5 years ago • 3 comments

Please Update this how can i open emojiKeyboard through a button click

Originally posted by @ProKashif in https://github.com/isaced/ISEmojiView/issues/52#issuecomment-557059498

ProKashif avatar Nov 21 '19 12:11 ProKashif

ISEmojiView just like a view, you can control it like an UIView.

Or I guess your question is "How to pop up the keyboard via a button?"

hope this helps.

isaced avatar Jan 11 '20 16:01 isaced

I'm also having the same issue. I want to show the view as an independent view, I don't want to use a keyboard or textview. When trying by using self.view.addSubview(emojiView), The view for some reason gets a rect size of (64.0, 49.0), no matter if I give it a frame manually. And ideas?

dortest avatar Sep 19 '21 11:09 dortest

@dortest If you want to operate the EmojiView as a normal view, I try the following code and it works:

let view = EmojiView()
view.frame = CGRect(x: 0, y: 0, width: UIScreen.main.bounds.width, height: 300)
self.view.addSubview(view)

isaced avatar Jun 22 '22 14:06 isaced