GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
Inicio
→
WINDEV Mobile 2024
→
[WM20] Get ID for iOS
[WM20] Get ID for iOS
Iniciado por ARV, mai., 23 2018 6:36 PM - 2 respostas
Conecte-se…
ARV
#1
Membro registado
498 mensagems
Popularité : +8 (8 votes)
Publicado em maio, 23 2018 - 6:36 PM
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
Mensagem modificada, maio, 23 2018 - 6:50 PM
Denunciar
0
0
ARV
#2
Membro registado
498 mensagems
Popularité : +8 (8 votes)
Publicado em maio, 23 2018 - 6:40 PM
Hi everyone
Heres some ScreenShots of how to put the "Security.framework"
Best regards
Jose
Mensagem modificada, maio, 23 2018 - 6:51 PM
Denunciar
0
0
ARV
#3
Membro registado
498 mensagems
Popularité : +8 (8 votes)
Publicado em maio, 23 2018 - 6:50 PM
Hi everyone
Heres is where you need to click to download the file:
Best regards
Jose
Denunciar
0
0
→ Voltar para WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versões anteriores)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Tipo de Pesquisa
Apenas tópicos
Todas as mensagens
Período de pesquisa
Qualquer momento
Última hora
Últimas 24 horas
Semana passada
Mês passado
Ano passado
Cancelar
Pré-visualização da sua mensagem
Adicionar imagem
Importar uma imagem de uma URL
Enviar uma imagem a partir do seu disco
Deixe um ficheiro ou clique em "Procurar ..."
ou
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto