intuit / CardParts

A reactive, card-based UI framework built on UIKit for iOS developers.
Other
2.52k stars 224 forks source link

Add AppIcon and make CardPartVideoView more customizable #266

Closed rcole34 closed 3 years ago

rcole34 commented 3 years ago

Before you make a Pull Request, read the important guidelines:

CardPartVideoView only added the AVPlayerViewController's view as a subview, leaving the viewController itself dangling and leading to the following errors when entering and exiting full screen:

Screen Shot 2020-10-29 at 12 34 38 AM

By setting the CardPartView's viewController property to the instance of AVPlayerViewController, we no longer see this error because calling setupCardParts will automatically add this viewController as a child of the CardPartsViewController. Setting the viewController also allows read-only access for users to get this property, cast it as an AVPlayerViewController, and set the delegate or customize other properties.

Also set the AppIcon so CardParts looks like this on the home screen: Simulator Screen Shot - iPhone 11 Pro - 2020-10-29 at 00 49 35

Goals of this PR :tada:

How Has This Been Tested :mag:

Please let us know if you have tested your PR and if we need to reproduce the issues. Also, please let us know if we need any relevant information for running the tests.

Test Configuration :space_invader:

Things to check on :dart: