Wiley Professional iPhone & iPod touch Programming: Building Applications for Mobile Safari 978-0-470-25155-3 Benutzerhandbuch
![Wiley](https://files.manualsbrain.com/attachments/5de18a23c4d3d5d1a4997b5e9cb2902385eacac2/common/fit/150/50/d21dc9f82513d68b4875ad7a65e85e13fd99d38d28af9d7df0006cb79a2d/brand_logo.png)
Produktcode
978-0-470-25155-3
Chapter 1: The iPhone and iPod touch Development Platform
11
Accessing F iles on a Local Wi - F i Networ k
Since iPhone and iPod touch do not allow you to access the local file system, you cannot place your
application directly onto the device itself. As a result, you need to access your Web application through
another computer. On a live application, you will obviously want to place your application on a publicly
accessible Web server. However, testing is another matter. If you have a Wi - Fi network at your office or
home, I recommend running a Web server on your main desktop computer to use as your test server
during deployment.
application directly onto the device itself. As a result, you need to access your Web application through
another computer. On a live application, you will obviously want to place your application on a publicly
accessible Web server. However, testing is another matter. If you have a Wi - Fi network at your office or
home, I recommend running a Web server on your main desktop computer to use as your test server
during deployment.
If you are running Mac OS X, you already have Apache Web server installed on your system. To enable
iPhone and iPod touch access, go to System Preferences Sharing Services and turn the Personal Web
Sharing option on (see Figure 1 - 11 ). When this feature is enabled, the URL for the Web site is shown at
the bottom of the window. You ’ ll use this base URL to access your Web files from iPhone or iPod touch.
iPhone and iPod touch access, go to System Preferences Sharing Services and turn the Personal Web
Sharing option on (see Figure 1 - 11 ). When this feature is enabled, the URL for the Web site is shown at
the bottom of the window. You ’ ll use this base URL to access your Web files from iPhone or iPod touch.
URL for selected
web site
web site
Figure 1-11: Turn on Personal Web Sharing.
c01.indd 11
c01.indd 11
12/7/07 2:29:11 PM
12/7/07 2:29:11 PM