Question: apple is asking for a verification code?
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.