PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV Mobile 2024
→
Saving a decoded image using HAdd is crashing the iOS app
Saving a decoded image using HAdd is crashing the iOS app
Started by Andy, Oct., 02 2020 6:00 PM - 1 reply
Connect yourself…
Andy
#1
Posted on October, 02 2020 - 6:00 PM
Hi,
I am sending an image over Http Request and on the iOS (Windev Mobile) I receive the image using
WorkAttachments_Local.FileContents = Decode(vAttachment.FileContents..Value,encodeBASE64)
Here FileContents is of Type Binary, Sound column in HFSQL table
On doing HAdd(WorkAttachments_Local,hSetIdAuto) it fails and crashes the app for certain images.
Thanks,
Andy
Report
0
0
IsiahYates
#2
Registered member
2 messages
Posted on October, 03 2020 - 6:33 AM
Add NSPhotoLibraryUsageDescription to Info.plist
Don't leave it empty - it reuses Apple's default question, but it is fine only for development. Uploading such archive to App Store will trigger an error.
Report
0
0
→ Go back to WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text