Iniesta ended a 22-year career that included a World Cup, two European Championship titles and four Champions League trophies.