我有 html 字符串, 我想在 Web 视图中装入它, 但我想要一些我因此得到的值, 所以我想在运行时也添加这些值 。
I have a string belwo i want this value to be added with line so that it should display Number of dogs that visit clinic ? 12 like this
NSString*dogspermonth=12;
Number of dogs that visit clinic? <br>
NSString*htmlString=@"<HTML>
<HEAD>
<TITLE>JAMSHED ALI</TITLE>
</HEAD>
<BODY background="InsideBackgroundPage2.png">
<H6><font color="white">Cerenia Motion Sickness<br>
Model</br>Report
<p>Inputs</p>
<br>
Number of dogs that visit clinic? <br>
Number of dogs with motion sickness <br>
Dogs treated with (per year): <br>
Cerenia <br>
Other prescription drugs<br>
Other means<br>
Other the counter drugs<br>
<p>
Average cost to client for Cerenia prescription<br>
Clinic markup<br><br>
Average number of dogs treated for car sickness<br>
Total number of dogs treated for car sickness<br>
Dogs treated with Cerenia<br>
Dogs treated with other drugs or interventions<br>
<br>
Profit for each Cerenia prescription<br>
Annual Profit earned from Cerenia treatment<br>
Potential annual profit increase from using Cerenia to treat all dogs with motion sickness<br>
Maximum annual profit if all dogs with car sickness were treated with Cerenia<br>
</BODY>
</head>";