If you want to set up a Twitter 2FA code generator in Apple’s password manager, Six Colors has a great guide: https://sixcolors.com/post/2023/02/setting-up-ioss-two-factor-authentication-for-twitter/

If you do this in Safari on macOS, you can right click on the QR code Twitter gives you, and choose “Set Up Verification Code”.

And if you want easy access to codes, add Passwords to your Home Screen or Dock: https://rmondello.com/passwords-shortcut/

Setting up iOS’s two-factor authentication for Twitter

If you’re already using two-factor authentication on your Twitter, account, great! But with the company’s announcement Friday evening1 that it would be discontinuing two-factor authentication via S…

Six Colors
@rmondello After Elon Musk took over and things went south, I have removed myself from Twitter. Facebook will be harder, because family and friends use that much more than they did Twitter.
2FA makes things so much more complicated, especially if you have dozens of applications. When you switch between platforms (iOS and Android for example), it becomes a nightmare.