fix(ios): UI sizing of the audio capture controller according to parent view size #185
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixed UI sizing for audio capture controller according to parent view size
Platforms affected
iOS
Motivation and Context
Audio capture controller's view looks different for iPhones and iPads and crops according to the device size.
![1](https://user-images.githubusercontent.com/35519010/89027170-3f3e9100-d354-11ea-9556-a824a6d4e3b8.jpg)
![2](https://user-images.githubusercontent.com/35519010/89027217-4fef0700-d354-11ea-80eb-ca75eef61cb5.jpg)
Description
I changed the size calculation for the audio capture controller's layout. Now the UI looks good on all devices.
![3](https://user-images.githubusercontent.com/35519010/89027260-6301d700-d354-11ea-9e3a-e040cf02459a.jpg)
Testing
I didn’t find any tests for this plugin.
Checklist
(platform)
if this change only applies to one platform (e.g.(android)
)