Question: how to verify apple id?
Answer: Go to Settings > iCloud.
Tap your Apple ID username.
If your device is offline, tap Get Verification Code. If your device is online, tap Password & Security > Get Verification Code.