Releases: sparrowcode/PermissionsKit
Fix bugs of bottom comment and add `isDenied` func
Fix bug of size bottom comment. Added isDenied
func for check state permission. Rename func isAllow
to isAllowed
. Update example code & renamed some internal parameters.
Fix bugs
Small bugs with pod version.
Change method for status notification permission
Now notification permission check local enapled status (not remote). Update example and SparrowKit
pod.
New permission - Motion
Now func isAuthorized
change to var
property. Add new permission Motion
. Add icon for permission Motion
. For customize colors you don't need pass colorSource
. . You need pass for dataSource
object, which implements two protocols.
Add Colour Scheme
Add management color scheme by protocol SPPermissionDialogColorSource
. Now you can customise some or all colours. Also renamed some structs and update example.
Updated readme for new futures.
New delegate func `didDenied` & close dialog if tap around
- New func
didDenied
inSPPermissionDialogDelegate
- Rename
dragToDiscard
todragEnabled
- Close dialog if tap around view (read more)
If dragEnabled
set to false
, on view add tap gester for close dialog if tap around dialog. Also add close button. For disable need override parameter showCloseButton
Fix bug with `WhenInUse` location permission
- Now if allowed
Always
location permission, permissionWhenInUse
have style allowed
Add alert if permission denied
- Add alert
- Update delegate & datasource for customise alert
- Update example
Fix status bar animation
- Remove conflict classes with
SparrowKit
- Animation status bar
Fix bugs
- New structure folders
- All remove conflicts with
SparrowKit
pod