Discussion Forums  >  WebViews and HTML for Mobile

Replies: 6    Views: 66

photoserge
Aspiring developer
Profile
Posts: 146
Reg: Jan 01, 2012
paris
5,410
12/20/12 10:55 AM (11 years ago)

Image doesn't appear when I test on Iphone, but works on simulator

Hello guys, I'm working on a custom HTML page with all my social networks links, all it is is a list of logos (Facebook, Google +, twitter etc...) and when you click on it you get to the corresponding page. All my images appears in the simulator but when I test it on my Iphone 6 using xcode 4.5, I only see blank rectangles and no images. I have no build error and no idea what to do. Tks for all the help ! Serge
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
12/20/12 11:14 AM (11 years ago)
How did you get an iPhone 6 - they are not made yet! Seriously, where are you storing the images?
 
Fingers Crossed
Veteran developer
Profile
Posts: 234
Reg: Jan 16, 2012
Simcoe, ON
6,390
like
12/20/12 11:15 AM (11 years ago)
If the images are large, I have found it can take some time for them to appear. As AlanMac also said, are they local or linked?
 
photoserge
Aspiring developer
Profile
Posts: 146
Reg: Jan 01, 2012
paris
5,410
like
12/20/12 11:17 AM (11 years ago)
I'm storing all the images in the BT_images folder and I have an Iphone 6 with IOS 6.0, sorry for that :-) they are are local
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
12/20/12 11:33 AM (11 years ago)
The way I would do this is to make an html file that references the images locally and put the lot in BT_Docs (including the images). I would then create a screen of type html doc and have it point to your html file. That should work.
 
photoserge
Aspiring developer
Profile
Posts: 146
Reg: Jan 01, 2012
paris
5,410
like
12/20/12 12:48 PM (11 years ago)
I'm sorry my mistake for some reasons all my files names were in small caps and that is why they were not recognized ! the path was good sorry for all that !
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
12/20/12 01:08 PM (11 years ago)
alls well that ends well
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.