MakeSchool-Tutorials / Makestagram-Swift-V3

14 stars 7 forks source link

13. Taking Photos #77

Closed byzantinist closed 7 years ago

byzantinist commented 7 years ago

Grammar:

1. First we set the MainTabBarController as the delegate of it's tab bar

should be

1. First we set the MainTabBarController as the delegate of its tab bar


Once the user is finished, the selected image gets returned to the MGPhotoHelper

is missing a period at the end

Once the user is finished, the selected image gets returned to the MGPhotoHelper.


When setting up MainTabBarController, we'll will provide it with a callback function.

should be

When setting up MainTabBarController, we will provide it with a callback function.


First we set the MainTabBarController as the delegate of it's tab bar

should be

First we set the MainTabBarController as the delegate of its tab bar


A closure can be thought as a function without a name.

should be

A closure can be thought of as a function without a name.


If the action sheet isn't showing up, make sure that you've set the tag to it's correct index in the storyboard.

should be

If the action sheet isn't showing up, make sure that you've set the tag to its correct index in the storyboard.


Notice our action sheet only has a Upload from Library and Cancel option. This is because we're running the app on a simulator. If you're running the app on a real device you should also see the option to Take Photo

should be

Notice our action sheet only has an Upload from Library and Cancel option. This is because we're running the app on a simulator. If you're running the app on a real device you should also see the option to Take Photo.


When added both keys, your Info.plist should look like the following:

should be

After adding both keys, your Info.plist should look like the following:

ocwang commented 7 years ago

Fixed!