Need assistance regarding disappearing paste menu - ios

In my messaging app I have HPGrowingTextView at the bottom and UITableview covering rest of the the view to show messages. When user tap on HPGrowingTextView I resize the UITableview and slide up the HPGrowingTextView so nothing hides behind keyboard.
But when user perform long press gesture on HPGrowingTextView everything works same but paste menu appears and then disappear.
How can I control the disappearing of paste menu.

Related

How to show stickers (or other views) under UIInputAccessoryView on iOS?

I'm building a chat interface and I'm curious how apps like Telegram and iMessage achieve the following:
There's an always-on input bar that stays above the keyboard (or at the bottom of the screen if there's no keyboard). This is most likely a UIInputAccessoryView, and I've got this implemented.
There's a sticker button on the bar that, when tapped, dismisses the keyboard AND keeps the input bar in-place AND reveals another view under it that is some other view (containing stickers, etc.) The input bar basically doesn't move at all. The animation is exactly like the keyboard going away, revealing the view that appears to have always been there.
If the keyboard is hidden, tapping on the sticker button does the same as 2. What's really cool is that the sticker view is always the same height as the keyboard - and note that keyboards of different languages can be of different height (autocomplete bar), and at least in Telegram's case it can always find the right height.
Any pointer to how to achieve this is appreciated!

How can I remove the blue border/outline from UITableViews in a mac app built with UIKitForMac?

This screenshot is taken from an app built for mac with UIKitForMac. The blue outline appears whenever you tap on any cell in a UITableView or highlight any text in a UITextView.
Reproduce:
Go to a UITableView
Select a cell
(if this takes you to another view, tap the back button)
See the blue outline
How can I stop this blue outline from ever showing up?
Additional Context
If I turn on the view debugger, it disappears before I can debug it.

iOS tab bar side scrolling is broken

I have a tableview which is in a tab bar controller (basically on of the tabs is a list of charts), vertical scrolling isn't responsive..sometimes it side scrolls to another tab if user accidentally moves finger a big to the side while scrolling vertically. That part is more optimized in other apps I've seen. Is there a way to make vertical scrolling smoother? Or just to disable the side scrolling in tab bar so user has to click the tabs to switch them?
disable the side scrolling if you don't mind. it works for me. Thanks.

UIButtons initially non-functional when positioned on the right-hand side of a view

All:
I am working on an app in which I have multiple UIButtons and UITextFields on the top and right hand side of a UIView. The UIViewController is embedded in a tab bar controller, and I'm using iOS 7.
When the view first appears, the UIButtons and UITextFields on the right are unresponsive -- they are enabled (according to .isEnabled), but the buttons don't flash, and the keyboard doesn't appear when I tap on the UITextField. If I switch to another tab and then back, they work.
The controls at the top work as expected.
However, if I drag the right hand side controls more towards the center of the app, they work first time. There's like a 100 pixel "dead zone" that only goes away when I switch tabs.
Update: If I bypass the tab bar controller completely, and make the view controller associated with the above the initial view controller, then the controls work as they should.
What is going on??
Thanks,
Michael

How to make keyboard stay fixed to UIViewController

I'm using JASidePanels to have a slideout-menu in my app. One of the views I have has a always-visible keyboard. My problem is that, when in this keyboard-fixed view, and I show the menu, the keyboard stays at the center of my window instead of following the view i hid to show the menu. I understand why this is, but I would like to tweak it so it follows the view im swiping to the right, instead of staying in the middle.
TL;DR how can I stick a keyboard fixed to a UIView, instead of staying in front of whole app window

Resources