isaced / ISEmojiView

Emoji Keyboard for iOS
MIT License
522 stars 119 forks source link

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

Closed ProKashif closed 2 years ago

ProKashif commented 4 years ago

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

isaced commented 4 years ago

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.

dortest commented 3 years ago

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?

isaced commented 2 years ago

@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)