Releases: sparrowcode/PermissionsKit
Fix bugs
Fix bug with tap gesture. If not allow scroll view and tap in window - controller closed. Now controller close if tap only background view.
Fix bug with reminder icon
Fix bug with reminder icon, now show document
type icon.
Updates new key for location permissions
Updates with new NSLocationAlwaysAndWhenInUseUsageDescription
key
Obsoletes old NSLocationAlwaysUsageDescription
on iOS 11.0 and lower
Conforms to Apple's CoreLocation documentation
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