FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV Mobile 2024
→
[WM20] Get ID for iOS
[WM20] Get ID for iOS
Débuté par ARV, 23 mai 2018 18:36 - 2 réponses
Connectez-vous…
ARV
#1
Membre enregistré
498 messages
Popularité : +8 (8 votes)
Posté le 23 mai 2018 - 18:36
Hi my fellows developers
This is a way to get the ID for an iOS device because the PCSoft doesn't provide a code for that, for some rules of Apple, I found the solution on the forum of PCSoft but on france so I post this on english then here's how
First Download this app on this link
http://depot.pcsoft.fr/resource.awp…
NOTE: better get Windev Mobile 21 or 22 or Windev 21 or 22 if you don't have that then It´'s not gonna open
First you need to create a global procedure called whatever you want but you need to transform WL to ObjC and put this code:
#import
"DeviceUID.h"
#import
<
UIKit
/
UIKit.h
>
NSString
*
getUID
(
)
//This is the name of the procedure you can call it however you like or you could let it be like this
{
RETURN
[
DeviceUID uid
]
;
}
Then on your project of WM when you need to know the ID of the device just call that procedure like this:
E
DT_Text1
=
getUID
(
)
I use and EDT_Text1 just to show the ID of the device, and that's it, next the last part,
when you create the project on Xcode you need to do this:
on the project you download there you have some important files called:
-DeviceUID.h
-DeviceUID.m
IMPORTANT: Those files you need to import it on the executable of the app on Windev mobile.
SUPER IMPORTANT: After you import those files you need to add this "Security.framework" if you do not put this it's not gonna work.
with all of this done NOW you can get and ID for iOS devices SWEET!
Source:
https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windevmobile/22616-identifiant-unique-terminal-ios/read.awp
PD: I hope the link of the file it's not broke... I hope so...
Any question please ask!
Best Regards
Jose
Message modifié, 23 mai 2018 - 18:50
Signaler
0
0
ARV
#2
Membre enregistré
498 messages
Popularité : +8 (8 votes)
Posté le 23 mai 2018 - 18:40
Hi everyone
Heres some ScreenShots of how to put the "Security.framework"
Best regards
Jose
Message modifié, 23 mai 2018 - 18:51
Signaler
0
0
ARV
#3
Membre enregistré
498 messages
Popularité : +8 (8 votes)
Posté le 23 mai 2018 - 18:50
Hi everyone
Heres is where you need to click to download the file:
Best regards
Jose
Signaler
0
0
→ Revenir à WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte