Quantcast
Channel: WinDev Forum
Viewing all articles
Browse latest Browse all 1914

WM22 IOS basic question about downloading image from internet (no replies)

$
0
0
Hi all

I am starting with WM22 IOS development trying to download an image from internet and showing it in an image control.

In android works perfect, but when I try in an iphone 6 it does not show in the control

I did all I could find in the help without result, for exampler here

[forum.pcsoft.fr]

When I compile the project in the Xcode I notice that it sends this message in the debugger window when I run it from the emulator


017-11-09 19:29:03.457373 Test_Windows[394:38817] Warning: Libinfo call to mDNSResponder on main thread


This is the code I am using in the WM project (Code that I found here in the forum)

HTTPRequest("[example.com];)

IF ErrorOccurred = False THEN
sResult is Buffer = HTTPGetResult(httpResult)
IF Position(sResult,"404") THEN
Info(HTMLToText(sResult))
ELSE
IF Length(sResult) > 0 THEN
IMG_Foto = sResult

Info("photo loaded")
END
END
END


The xcode version is 9 and in the WM22 project the minimun IOS version is 8 in the deployment target

I know this is a basic one but I have spend all day trying just to run this in an Iphone

I thought it could works as it does in android

Thank you very much for your advices

James

Viewing all articles
Browse latest Browse all 1914

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>