Fix bugs, sync the codebase with iOS XDYou v1.1.0.