Testing our code on iOS
To test our code on iOS, we simply navigate to our PhoneGap project (phonegap/todo
) and issue the following command:
cordova emulate ios
Remember to turn on your server and MongoDB as well. You should see the following screen on your Android emulator:

Your to-do list app should look and work as expected
This is simply some of the data that we created beforehand. Let's go ahead and create a new to-do item:

Your to-do list app should look and work as expected
Now go ahead and save it. You will see the following screen:

Your to-do list app should look and work as expected; creating a to-do item works
I'm just going to go ahead and edit the latest to-do item:

Editing a to-do item should work as expected
Now click on Save. You should see the latest item saved as shown in the following screenshot:

After editing and saving the to-do item, the app works as expected