a demo imitate JD base ZxingObjc