Releases: ivanvorobei/SPStorkController
Dismiss action also on `UIScrollView`
Added dismiss trigger when scrollView is scrolling down. Also added swipeToDismissEnabled
checking to allow scrollView bounce when swipeToDismissEnabled
is disabled. Thanks @ilia3546 for pull request.
Fix gun with Table View
Fix bug, when presenting controller with table view and use SPStorkController.scrollViewDidScroll(scrollView)
grade and scale use invalid format.
Fix presenting and dismissing actions
Now if controller dismissing - keyboard will hide without delay. Also for func presentAsStork
added property height
. For SPStorkPresentingAnimationController
fix start sizes (for test).
Add `translateForDismiss`
Add parameter translateForDismiss
, which customise translation for dismiss controller. Default is 240
. Rename some parametrs.
Close controller by tap in indicator
If tap on indicatorView
, controller will be close as in app Apple Music by Apple.
Add extension to UIViewController
Add extension to UIViewController. Property isPresentedAsStork
check if currenct controller present with this pod. For simple usage add func presentAsStork
- need pass controller only.
New property `indicatorColor`
Add new parameter indicatorColor
for change color of arrow. For change color need set new color for SPStorkTransitioningDelegate
. Fix color managment for SPStorkIndicatorView
Auto change custom height if it more maximum height
Now if set custom height more default height, it change to default height. Update example.
Hide modal after tap around
- After tap parrent controller auto dismiss
- Update example
Add customHeight & fix bugs
- Fix bugs with paramtrs
- Add paramtr
customHeight
for modal controller - Add functions for update snapshot