如何在iOS中检索Html字符串并将其发送到服务器?

如何在iOS中检索Html字符串并将其发送到服务器?,html,ios,xcode,rest,cocoa-touch,Html,Ios,Xcode,Rest,Cocoa Touch,我一直面临从服务器检索HTML响应并在UITextView中显示它的问题(我使用的是RESTAPI) 我想通过修改HTML字符串将其再次发送到远程服务器 我对NSAttributedString和NSMutableString有一点了解 下面是一个示例字符串,我希望从服务器获取该字符串,并将其显示到UITextView,并在执行某些操作后将其发送回服务器 <b>Soaking time</b>:&nbsp; 3 hours <br> <b>

我一直面临从服务器检索HTML响应并在UITextView中显示它的问题(我使用的是RESTAPI)

我想通过修改HTML字符串将其再次发送到远程服务器

我对NSAttributedString和NSMutableString有一点了解 下面是一个示例字符串,我希望从服务器获取该字符串,并将其显示到UITextView,并在执行某些操作后将其发送回服务器

<b>Soaking time</b>:&nbsp; 3 hours <br>
<b>Preparation time:</b> 15 mins <br>
<b>Fermenting time:</b>&nbsp; 8 hours <br>
<span><b>Cooking time:</b> 45 mins<br><br></span>
1.&nbsp;&nbsp;&nbsp;&nbsp; Soak the urad dal (split black lentils)&nbsp;and fenugreek seeds (methi)&nbsp;together in water for 3 hours and drain. <br>
2.&nbsp;&nbsp;&nbsp;&nbsp; Soak the parboiled rice in water for 3 hours and drain. <br>
3.&nbsp;&nbsp;&nbsp;&nbsp; Blend urad dal and fenugreek seeds together in a mixer till smooth and frothy (add water little by little as required) remove and keep aside. <br>
4.&nbsp;&nbsp;&nbsp;&nbsp; Blend the rice in a mixer till smooth. Remove and keep aside. <br>
5.&nbsp;&nbsp;&nbsp;&nbsp; Combine the urad dal paste and rice paste together in a bowl and keep aside to ferment overnight. <br>
6.&nbsp;&nbsp;&nbsp;&nbsp; Once the batter is fermented, add salt to the batter and mix well. <br>
7.&nbsp;&nbsp;&nbsp;&nbsp; Put spoonfuls of the batter into greased idli moulds and steam for 10 to 12 minutes. <br>
8.&nbsp;&nbsp;&nbsp;&nbsp; Serve at room temperature. <br>
浸泡时间:3小时
准备时间:15分钟
发酵时间:8小时
烹饪时间:45分钟

1.将乌拉尔豆(黑色小扁豆)和胡芦巴种子(methi)一起浸泡在水中3小时,然后沥干
2.将煮熟的米饭在水中浸泡3小时,然后沥干
3.在搅拌机中将乌拉尔豆和胡芦巴种子混合在一起,直到光滑起泡(根据需要一点一点地加水),取出并放在一边
4.把米饭放在搅拌机里搅拌均匀。取出并放在一边
5.将乌拉尔豆糊和米饭糊混合在一个碗里,放在一边发酵过夜
6.面糊发酵后,向面糊中加入盐并充分混合
7.将一匙面糊放入润滑的idli模具中,蒸10到12分钟
8.在室温下食用

我坚持认为目前的情况如上所述。。任何帮助都将不胜感激。谢谢你的帮助Help@Unknown谢谢你的帮助