小编Mit*_*hin的帖子

iOS:在构建阶段更改info.plist

我正在尝试执行以下操作:

  1. 在构建阶段,打开纯文本文件并阅读文本
  2. 将info.plist中的属性值更改为步骤1中获取的值.

我可以为此编写一个shell脚本吗?

如果有人可以指导我实现这一点,那就太好了.

xcode build ios

21
推荐指数
3
解决办法
2万
查看次数

iPhone SDK - 在资源中添加压缩内容,然后解压缩到Documents文件夹中

我有一些资源(压缩)需要随我的iphone应用程序一起提供.当应用程序第一次启动时,需要将此压缩文件移动/复制到Documents文件夹并将其解压缩到那里.然后,用户可以从应用程序向此路径添加更多文件.有人可以建议我怎样才能做到这一点?

谢谢!

iphone resources zip unzip

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

iPhone SDK:在通话结束后启动应用程序

如何在应用程序内拨打电话或在通话结束后立即启动应用程序?我知道这是可能的,因为应用程序商店中的某些应用程序已经在执行此操作.

iphone phone-call

2
推荐指数
1
解决办法
4344
查看次数

从iPhone地址簿访问带有电子邮件地址的人员列表

我想用至少一个电子邮件地址显示iPhone地址簿中的人员列表.有人可以解释我如何使用AddressBook框架过滤这个?

非常感谢

iphone addressbook

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

使用TouchXML解析多个和多级嵌套元素

我有一个具有以下结构的XML,我正在尝试从此创建我的模型对象.有人可以帮我找到一种方法,使用TouchXML,NSMutableArray和NSMutableDictionay从XML中获取这些对象.

<?xml version="1.0" encoding="utf-8"?>
<response>
  <level1_items>
    <level1_item>
      <item_1>text</item_1>
      <item_2>text</item_2>
    </level1_item>
    <level1_item>
      <item_1>some text</item_1>
      <item_2>some more text</item_2>
  </level1_items>
  <items>
    <item>
      <child_items>
        <child_item>
          <leaf1>node text</leaf1>
          <leaf2>leaf text</leaf2>
          <leaf3>some text</leaf3>
        </child_item>
        <child_item>
          <leaf1>text</leaf1>
          <leaf2>leaf text</leaf2>
          <leaf3>more text</leaf3>
        </child_item>
      </child_items>
    </item>
    <item>
      <child_items>
        <child_item>
          <leaf1>node text</leaf1>
          <leaf2>leaf text</leaf2>
          <leaf3>some text</leaf3>
        </child_item>
        <child_item>
          <leaf1>text</leaf1>
          <leaf2>leaf text</leaf2>
          <leaf3>more text</leaf3>
        </child_item>
      </child_items>
    </item>
  </items>
</response>
Run Code Online (Sandbox Code Playgroud)

我需要解析它<response>和它的孩子.

iphone touchxml

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

标签 统计

iphone ×4

addressbook ×1

build ×1

ios ×1

phone-call ×1

resources ×1

touchxml ×1

unzip ×1

xcode ×1

zip ×1