Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
MYID Public Code
MyID iOS SDK
Commits
37f88cdf
Commit
37f88cdf
authored
Jul 09, 2025
by
Javohir Savriy
Browse files
Update README.md
parent
81592d3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
37f88cdf
...
...
@@ -40,7 +40,7 @@ dependencies: [
The SDK is available on Cocoapods and you can include it in your projects by adding the following to your Podfile:
```
ruby
pod
'MyIdSDK'
,
'~> 2.4.
6
'
pod
'MyIdSDK'
,
'~> 2.4.
7
'
```
Run
`pod install`
to get the SDK.
...
...
@@ -85,13 +85,10 @@ class ViewController : UIViewController {
extension
ViewController
:
MyIdClientDelegate
{
func
onSuccess
(
result
:
MyIdResult
)
{
if
let
code
=
result
.
code
{
print
(
code
)
}
// Get face bitmap and result code
if
let
comparison
=
result
.
comparisonValue
{
print
(
comparison
)
}
print
(
result
.
code
)
print
(
result
.
comparisonValue
)
if
let
image
=
result
.
image
{
print
(
img
)
...
...
@@ -99,12 +96,14 @@ extension ViewController: MyIdClientDelegate {
}
func
onError
(
exception
:
MyIdException
)
{
// Get error message and code
print
(
exception
.
code
)
print
(
exception
.
message
)
}
func
onUserExited
()
{
print
(
"User exited"
)
// User left the SDK
}
}
```
...
...
@@ -162,13 +161,8 @@ extension ViewController: MyIdClientDelegate {
func
onSuccess
(
result
:
MyIdResult
)
{
// Get face bitmap and result code
if
let
code
=
result
.
code
{
print
(
code
)
}
if
let
comparison
=
result
.
comparisonValue
{
print
(
comparison
)
}
print
(
result
.
code
)
print
(
result
.
comparisonValue
)
if
let
image
=
result
.
image
{
print
(
img
)
...
...
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