Toggle navigation
Toggle navigation
This project
Loading...
Sign in
hh_public
/
hhsdk.ios.demo.trtc
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
wangguolei
2022-03-22 15:32:32 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
bbaf9871c27efd37ad8da0aff7fe3580cb902fa2
bbaf9871
1 parent
f746ac14
fix
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
9 deletions
HHMSDKDemo/LoginVC.swift
HHMSDKDemo/LoginVC.swift
View file @
bbaf987
...
...
@@ -96,15 +96,7 @@ class LoginVC: UIViewController {
@IBAction
func
skipToHome
(
_
sender
:
UIButton
)
{
if
HHSDKOptions
.
default
.
mMessageOptions
.
isByPresent
{
if
let
vc
=
HHMSDK
.
default
.
chatHomeVC
()
{
let
nav
=
UINavigationController
(
rootViewController
:
vc
)
nav
.
modalPresentationStyle
=
.
fullScreen
self
.
present
(
nav
,
animated
:
true
,
completion
:
nil
)
}
}
else
{
HHMSDK
.
default
.
skipChatHome
()
}
HHMSDK
.
default
.
skipChatHome
(
skipType
:
.
present
,
vc
:
self
)
}
override
func
touchesBegan
(
_
touches
:
Set
<
UITouch
>
,
with
event
:
UIEvent
?)
{
...
...
Please
register
or
login
to post a comment