fix crash on iOS 8

Still not fully working on iOS 8 but at least it doesn't crash.
I'm detecting all problem and I will try to fix, did you plan to work on it to add iOS 8 compatibility?
If not, will you submit an eventual update in case I fix the issues?

Bye!