菜鸟教程小白 发表于 2022-12-12 09:25:54

iphone - 如何在iphone中将数据传递给Tbxml


                                            <p><p>我正在尝试使用 TBXML,我想通过发送用户名和密码来解析 xml,但不知道怎么做,我已经阅读了很多教程。</p>

<pre><code>-(IBAction)login{
                  NSString *str2=emailtxt.text;
                  NSString *str3=passtxt.text;

                  TBXML * tbxml = ];


                  TBXMLElement *rootXMLElement = tbxml.rootXMLElement;

                  if (rootXMLElement)
                  {
                        TBXMLElement * user = ;

                        while (user != nil)
                        {

                            TBXMLElement *CountryId = ;
                            if (CountryId != nil)
                            {
                              NSLog(@&#34;CountryId :: %@&#34;, );
                            }

                            TBXMLElement *CountryName = ;
                            if (CountryName != nil)
                            {
                              NSLog(@&#34;CountryName :: %@&#34;, );
                            }

                            user = ;
                        }
                  }
                }
</code></pre></p>
                                    <br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
                                            <p><p>把你的网址改成</p>

<pre><code>;
</code></pre>

<p>您可以点击此链接 <a href="http://rajneesh071.blogspot.in/2013/03/operation-on-string.html" rel="noreferrer noopener nofollow">Operation On String</a> 在运行时设置您的电子邮件和密码</p></p>
                                   
                                                <p style="font-size: 20px;">关于iphone - 如何在iphone中将数据传递给Tbxml,我们在Stack Overflow上找到一个类似的问题:
                                                        <a href="https://stackoverflow.com/questions/15240191/" rel="noreferrer noopener nofollow" style="color: red;">
                                                                https://stackoverflow.com/questions/15240191/
                                                        </a>
                                                </p>
                                       
页: [1]
查看完整版本: iphone - 如何在iphone中将数据传递给Tbxml