setup the scanning tip logic.

fix  https://github.com/xhzengAIB/MessageDisplayKit/issues/108