Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
GeliBusinessPlatform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ljy
GeliBusinessPlatform
Commits
3cdc249b
Commit
3cdc249b
authored
May 29, 2020
by
刘俊宏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
同上
parent
7ad178c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
GeliBusinessPlatform/AppDelegate.swift
GeliBusinessPlatform/AppDelegate.swift
+1
-1
No files found.
GeliBusinessPlatform/AppDelegate.swift
View file @
3cdc249b
...
@@ -39,7 +39,7 @@ class AppDelegate: UIResponder,UIApplicationDelegate,UNUserNotificationCenterDel
...
@@ -39,7 +39,7 @@ class AppDelegate: UIResponder,UIApplicationDelegate,UNUserNotificationCenterDel
entiity
.
types
=
Int
(
UNAuthorizationOptions
.
alert
.
rawValue
|
entiity
.
types
=
Int
(
UNAuthorizationOptions
.
alert
.
rawValue
|
UNAuthorizationOptions
.
badge
.
rawValue
|
UNAuthorizationOptions
.
badge
.
rawValue
|
UNAuthorizationOptions
.
sound
.
rawValue
)
UNAuthorizationOptions
.
sound
.
rawValue
)
JPUSHService
.
register
(
forRemoteNotificationConfig
:
entiity
,
delegate
:
self
)
//
JPUSHService.register(forRemoteNotificationConfig: entiity, delegate: self)
}
else
if
#available(iOS 8.0, *)
{
}
else
if
#available(iOS 8.0, *)
{
let
types
=
UIUserNotificationType
.
badge
.
rawValue
|
let
types
=
UIUserNotificationType
.
badge
.
rawValue
|
UIUserNotificationType
.
sound
.
rawValue
|
UIUserNotificationType
.
sound
.
rawValue
|
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment