SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 178 | Next

Richard Wagner

"Professional iPhone and iPod touch Programming: Building Applications for Mobile Safari"

css file (or download it from www.wiley.com ). When you use the
style conventions originally defined in iui.css, four additional rules are defined for the Contact
header:
.panel h1.cui {
margin: 5px 0 0px 80px;
font-size: 20px;
font-weight: bold;
color: black;
text-shadow: rgba(255, 255, 255, 0.75) 2px 2px 0;
top: 5px;
clear: none;
}
.panel h2.cui {
margin: 0 0 30px 80px;
font-size: 14px;
font-weight: normal;
color: black;
text-shadow: rgba(255, 255, 255, 0.75) 2px 2px 0;
top: 43px;
clear: none;
}
.panel img.cui {
margin: 0px 15px 5px 0px;
border: 1px solid #666666;
float: left;
-webkit-border-radius: 5px;
}
.panel > div.cuiHeader {
position: relative;
margin-bottom: 0px 0px 10px 14px;
}
The first three rules position the h1 , h2 , and img elements in the appropriate location. The final rule adds
spacing between the header panel and the rest of the page. Figure 7-5 shows the current state of the
Contact panel.
With all of the preparatory UI in place, you can begin to add the service integration.
Chapter 7: Integrating with iPhone Services
159
Making Phone Calls
from Your Application
You can make a phone call from your application simply through a special telephone link. A telephone
link is specified through the tel: protocol.


Pages:
166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190