Discussion Forums  >  WebViews and HTML for Mobile

Replies: 19    Views: 88

Seans Corner
Aspiring developer
Profile
Posts: 84
Reg: Sep 28, 2011
Dallas
840
06/24/12 01:52 PM (13 years ago)

Custome HTML text screen will not iupdate

this has been a ongoing issue for me for some time now. It wont update. I have refreshed about 30 times and it wont update. smh Please help
 
munny1
Veteran developer
Profile
Posts: 176
Reg: Jun 20, 2012
Earth
8,010
like
06/24/12 03:49 PM (13 years ago)
Go to one of the HTML screens that won't refresh, click on the "Source" button on the top left, look in the top of the document and make sure that the first lines of code that are in the document are: <p> <title></title> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" /> <meta content="width=device-width; initial-scale=1.0; maximum-scale=2.0; user-scalable=1;" name="viewport" /> <style type="text/css"> html{background-color:transparent;height:100%;width:100%;} body{background-color:transparent;font-size:15pt;font-family:helvetica;} img{border:0px;} </style></p> ------- That code should be the first lines in the document in the HTML. If these lines are not there, paste them in. Now try to refresh your app. By the way, have you tried quitting the simulator and rerunning it? Munny1
 
Seans Corner
Aspiring developer
Profile
Posts: 84
Reg: Sep 28, 2011
Dallas
840
like
06/24/12 03:53 PM (13 years ago)
yeah that line of code is in there. And it still doesn't work Cant update any html text field in my app Yes i quit the app on my phone and it still won't work smh
 
munny1
Veteran developer
Profile
Posts: 176
Reg: Jun 20, 2012
Earth
8,010
like
06/24/12 03:59 PM (13 years ago)
Oh, you are using a text field. Okay, make sure that not only is the text field there but the connection to your backend is working properly. For example: If you are using a form in the HTML screen, just writing up an HTML for it will not do anything. You actually have to have the form connect to a service on the internet for it to be received or to do anything with it. Make sense? Munny1
 
Seans Corner
Aspiring developer
Profile
Posts: 84
Reg: Sep 28, 2011
Dallas
840
like
06/24/12 04:02 PM (13 years ago)
yeah that line of code is in there. And it still doesn't work Cant update any html text field in my app Yes i quit the app on my phone and it still won't work smh
 
Seans Corner
Aspiring developer
Profile
Posts: 84
Reg: Sep 28, 2011
Dallas
840
like
06/24/12 04:04 PM (13 years ago)
sorry for not explaining properly i'm using a standard Custom HTML - Text When u update it nothing happens
 
Seans Corner
Aspiring developer
Profile
Posts: 84
Reg: Sep 28, 2011
Dallas
840
like
06/24/12 04:04 PM (13 years ago)
sorry for not explaining properly i'm using a standard Custom HTML - Text When u update it nothing happens
 
munny1
Veteran developer
Profile
Posts: 176
Reg: Jun 20, 2012
Earth
8,010
like
06/24/12 04:07 PM (13 years ago)
I think I know what is going on: When you finish typing your HTML/text, do you click on the save button? If not, do so and then try to update the simulator.
 
Seans Corner
Aspiring developer
Profile
Posts: 84
Reg: Sep 28, 2011
Dallas
840
like
06/24/12 04:07 PM (13 years ago)
yes i click on the save button lol
 
Seans Corner
Aspiring developer
Profile
Posts: 84
Reg: Sep 28, 2011
Dallas
840
like
06/24/12 04:07 PM (13 years ago)
its a bug dude. something is wrong
 
munny1
Veteran developer
Profile
Posts: 176
Reg: Jun 20, 2012
Earth
8,010
like
06/24/12 04:09 PM (13 years ago)
Save button: I don't click the button all the time, that's why I mentioned it :)! Um, why don't you try making a new screen, pasting in the HTML, and then seeing if it works.
 
Seans Corner
Aspiring developer
Profile
Posts: 84
Reg: Sep 28, 2011
Dallas
840
like
06/24/12 04:12 PM (13 years ago)
its a bug dude. something is wrong
 
Seans Corner
Aspiring developer
Profile
Posts: 84
Reg: Sep 28, 2011
Dallas
840
like
06/24/12 04:12 PM (13 years ago)
ok trying that 1 sec
 
Seans Corner
Aspiring developer
Profile
Posts: 84
Reg: Sep 28, 2011
Dallas
840
like
06/24/12 04:14 PM (13 years ago)
wow that worked!! Thats can't be the only solution tho. Whats wrong with it? Why does it do that?
 
munny1
Veteran developer
Profile
Posts: 176
Reg: Jun 20, 2012
Earth
8,010
like
06/24/12 04:17 PM (13 years ago)
I am going to pretend I know exactly what I am talking about!: I have a feeling that some code or connection for the screen got corrupted and gave Xcode a hard time, but I really don't know. I am glad it worked for you though! Cheers, Munny1
 
Seans Corner
Aspiring developer
Profile
Posts: 84
Reg: Sep 28, 2011
Dallas
840
like
06/24/12 04:19 PM (13 years ago)
wow that worked!! Thats can't be the only solution tho. Whats wrong with it? Why does it do that?
 
Seans Corner
Aspiring developer
Profile
Posts: 84
Reg: Sep 28, 2011
Dallas
840
like
06/24/12 04:19 PM (13 years ago)
Thanks a ton munny1 Appreciate your help
 
Seans Corner
Aspiring developer
Profile
Posts: 84
Reg: Sep 28, 2011
Dallas
840
like
06/24/12 04:54 PM (13 years ago)
Thanks a ton munny1 Appreciate your help
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
06/24/12 05:30 PM (13 years ago)
Looks like @Munny got this before I did. Nice. David buzztouchmods.com
 
G B Barker
Aspiring developer
Profile
Posts: 7
Reg: Dec 26, 2011
Portland
70
like
07/12/12 08:28 AM (13 years ago)
I'm having similar issues of losing all text or the text reducing dramatically in size after I update the navigation bar color (?) - it's even happening when I rebuild the page. I'd prefer to not have to rebuild my pages as I have 200 of them. It also seems very random as some pages I'm able to correct & others won't no matter how many times I refresh/update. Any thoughts? Soooo appreciate any suggestions!
 

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.