ResearchKit / AppCore

Core code shared by the initial ResearchKit apps.
Other
262 stars 82 forks source link

Add Share App scenes (optional) to ineligible and eligible signup workflows #116

Closed EricSiegNW closed 9 years ago

EricSiegNW commented 9 years ago

This PR accomplishes the following:

1) Connects the APCShareViewController to the APCInEligible signup scene, along with a short label and a button. 2) Hides the back button from the InEligible scene, to discourage the user from simply tapping back and changing their selection criteria. 3) Connects the APCShareViewController in the eligible workflow as an option while waiting to verify email in the APCEmailVerify controller along with a short label and button. This will not be shown on old (3.5") phones due to space issues.

These new buttons/labels to get to the share scene are optional and off by default. Any app can show them by toggling showShareAppInOnboarding to true. The removal of the back option from the APCInEligibleViewController is universal.

EricSiegNW commented 9 years ago

share setting moved out of AppDelegate and into APCOnboardingManager per @p2 's suggestion.