I am working on a iOS keyboard extension. It works fine, but the run-time memory used by it gets almost double if I minimize any current app and open the keyboard in another app.
To explain it better, let me give you an example.
Suppose I opened the keyboard in the "Notes" app, it takes around 15 MB(first launch). Now if I minimize "Notes" and open the keyboard in "Safari", the memory goes to 21 MB.
So, my question is that is there any way to dismiss the keyboard if the app running it is minimised?
Any help is appreciated. Thanks