小编Jig*_*adu的帖子

如何剪切json字段值并将其存储在不同的索引中

desc = [[NSMutableArray alloc] init];
for (NSString * strName in results) 
{
    arrRates = [results objectForKey:strName];
    for (int i = 0; i <= [arrRates count]; i++) 
    {
        if ([[[arrRates objectAtIndex:i] valueForKey:@"type"] isEqualToString:@"0"])
        {
            nextUrl = [[arrRates objectAtIndex:i] valueForKey:@"Nexturl"];
            [desc addObject:[[arrRates objectAtIndex:i] valueForKey:@"desc"]];
        }
    }
}
NSLog(@"type 0 desc is:--> %@",desc);
Run Code Online (Sandbox Code Playgroud)

出局: -

[7666:b303] type 0 desc is:--> (
    "Home|2028;Services|2029;Clients|2030;Portfolio|2031;Company|2032;Contact Us|2033;Career|2034;",
    "Article Submission|2064;Social Bookmarking|2065;Directory Submission|2066;Forum / Blog Link Generation|2067;Press Release Distribution|2068;Link Wheel Creation|2069;Content Writing|2070;Video Marketing|2071;",
    "Magento|2072;Joomla|2073;Wordpress|2074;Drupal|2075;osCommerce / Zencart|2076;",
    "PSD to XHTML|2077;Newsletter …
Run Code Online (Sandbox Code Playgroud)

iphone parsing json ios

5
推荐指数
1
解决办法
235
查看次数

如何阅读/扫描条形码?

我怎样才能在我的iphone应用程序中实现读/扫描条形码.我也想知道如何将它实现到iphone应用程序中.如果可能的话,建议我使用链接和示例源代码和应用程​​序来了解它是如何工作的.

iphone

4
推荐指数
1
解决办法
435
查看次数

从哪里上传App Store上的二进制文件

我已按照所有步骤上传我的第一个应用程序"https://itunesconnect.apple.com/WebObjects/iTunesConnect.woa"

最后我上传了大图和截图.

我没有上传二进制文件的选项.

现在申请状态为"等待上传".

我现在很困惑上传我的二进制文件,从哪里以及如何上传它?

是在审查的appliacation?一切都顺利吗?或者我将不得不做任何改变?

请帮帮我,我是新上传的应用程序.

所有相关的帮助都表示赞赏和感谢提前.

iphone app-store

0
推荐指数
1
解决办法
3172
查看次数

如何为其中的标签和子标签进行流畅的XML解析......?

我还要以XML格式解析标签和子标签的数量,然后在解析和提取数据时如何使其平滑显示?

请建议正确的解析方法.

iphone

0
推荐指数
1
解决办法
198
查看次数

标签 统计

iphone ×4

app-store ×1

ios ×1

json ×1

parsing ×1