FOROS PROFESIONALES
WINDEV
,
WEBDEV
y
WINDEV Mobile
Inicio
|
Mensajes recientes
|
Conéctese...
|
Desconectar
|
Español
Inicio
→
WINDEV Mobile 2024
→
photo run app crashing in IOS
photo run app crashing in IOS
Iniciado por Mike Stewart, 10,nov. 2016 17:48 - 2 respuestas
Conéctese…
Mike Stewart
#1
Publicado el 10,noviembre 2016 - 17:48
Using the code directly lifted from the WINDEV help pages I am trying to allow for photos to be taken through my app. Works in android and on an iPad using IOS version 9.3.5.
However, an iPhone using 10.1.1 crashes as soon as the phone function photorunapp is called. The only clue I have comes from code which gives the error
libsystem_kernel.dylib`__abort_with_payload:
A web search on this suggests that I need to explicitly ask for camera access now instead of the iOS asking. I just have no idea if I can do this through windev.
Any ideas anyone please.
Mike
Informar
0
0
BOLLER
#2
Miembro registrado
3.661 mensajes
Popularité : +175 (223 votes)
Publicado el 10,noviembre 2016 - 18:31
hi Mike,
Send mini example to support free PCSOFT
Reporter error ok
--
Adriano José Boller
______________________________________________
Consultor e Representante Oficial da
PcSoft no Brasil
+55 (41) 9949 1800
adrianoboller@gmail.com
skype: adrianoboller
http://wxinformatica.com.br/
Informar
0
0
Mike Stewart
#3
Publicado el 13,noviembre 2016 - 12:05
Found an answer...
WINDEV has a new problem with version 10 of IOS. When I tried to publish the app even Xcode did not pick up any problems but when trying to archive the app to test flight it reported back in an email that...
'The app's Info.plist must contain an NSCameraUsageDescription key with a string value explaining to the user how the app uses this data'
So the solution was to directly edit the info.plist file and add the following.
<key>NSBluetoothPeripheralUsageDescription</key>
<string>ESP Seating would like to use bluetooth.</string>
<key>NSCalendarsUsageDescription</key>
<string>ESP Seating would like to create a calendar event.</string>
<key>NSCameraUsageDescription</key>
<string>ESP Seating would like to use the camera.</string>
<key>NSHumanReadableCopyright</key>
<string>ESP Thinking Ltd 2016</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string> </string>
<key>NSPhotoLibraryUsageDescription</key>
<string>ESP Seating would like to store a photo.</string>
I hope this helps anyone else who comes across these.
Mike
Informar
0
0
→ Volver a WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versiones precedentes)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Búsqueda Tipo
Sólo temas
Todos los mensajes
Periodo Buscar
Cualquier fecha
Última hora
Última 24 horas
Última semana
Último mes
Último año
Cancelar
Vista previa del mensaje
Añadiendo una imagen
Importar una imagen desde una URL
Enviar una imagen desde un archivo de su disco
Arrastrar un archivo o click en "Examinar..."
o
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto