To save your farm and progress, connect your farm to Game Center. By linking your farm with Game Center you ensure that your farm and progress gets saved, and it goes with you whenever you upgrade or switch devices.

All you need to do is to create your Game Center account, and login to it before loading the game.