Change method name

If use "size" as method, it will get called by some system method (e.g. UIKeyboard), it may also caused crash.