Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Custom KeyBoard get terminated due to memory pressure in iOS 8

Custom KeyBoard get terminated due to memory pressure in iOS 8

Initially my custom keyboard is taking around 25mb of memory, but this memory is not deallocated with I dissmiss the keyboard. Memory keep on increase when we open custom keyboard again and again and finally terminated due to memory pressure.

Help me out with this issue?

like image 784
Rachit Avatar asked Oct 10 '14 06:10

Rachit


People also ask

How do I activate custom keyboard on Iphone?

Go to Settings > General > Keyboard. Tap Keyboards, then do any of the following: Add a keyboard: Tap Add New Keyboard, then choose a keyboard from the list. Repeat to add more keyboards.

Does IOS custom keyboard?

Custom keyboards are enabled in the Settings app, under General > Keyboards. Once enabled, the keyboard is available during text entry within any app, except when editing secure text fields and phone number fields. People can enable multiple custom keyboards, and switch between them at any time.


1 Answers

You can dealloc some things in ViewWillDisappear function of KeyboardViewController

like image 114
Tatiana Avatar answered Sep 21 '22 08:09

Tatiana