<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>あらびき林檎。 &#187; UIStatusBar</title>
	<atom:link href="http://splitchin.com/tech/tag/uistatusbar/feed/" rel="self" type="application/rss+xml" />
	<link>http://splitchin.com/tech</link>
	<description>Macや, iPhoneでの,Webデザイン,アプリ開発などを綴ってます。</description>
	<lastBuildDate>Sun, 06 May 2012 01:09:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>iPhoneアプリ　ステータスバーを消す</title>
		<link>http://splitchin.com/tech/2010/03/29/iphone%e3%82%a2%e3%83%97%e3%83%aa%e3%80%80%e3%82%b9%e3%83%86%e3%83%bc%e3%82%bf%e3%82%b9%e3%83%90%e3%83%bc%e3%82%92%e6%b6%88%e3%81%99/</link>
		<comments>http://splitchin.com/tech/2010/03/29/iphone%e3%82%a2%e3%83%97%e3%83%aa%e3%80%80%e3%82%b9%e3%83%86%e3%83%bc%e3%82%bf%e3%82%b9%e3%83%90%e3%83%bc%e3%82%92%e6%b6%88%e3%81%99/#comments</comments>
		<pubDate>Sun, 28 Mar 2010 15:22:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Object-C]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iPhone SDK 3]]></category>
		<category><![CDATA[UIStatusBar]]></category>

		<guid isPermaLink="false">http://splitchin.com/tech/?p=906</guid>
		<description><![CDATA[				ケーズデンキオンラインショップ
				
				
				1. 動的にステータスバーを消す、色を変更させる
				
- (void)viewDidLoad
{
	// スーパー・クラスのメソッドを呼び出す
	 [...]]]></description>
			<content:encoded><![CDATA[				<p><a href="http://px.a8.net/svt/ejp?a8mat=1NLRJC+4W8DDU+1V6W+601S2" target="_blank">ケーズデンキオンラインショップ</a><br />
				<img border="0" width="1" height="1" src="http://www13.a8.net/0.gif?a8mat=1NLRJC+4W8DDU+1V6W+601S2" alt=""></p>
				<p><img src="http://splitchin.com/tech/wp-content/uploads/2010/03/statusbar-cap.jpg" alt="ステータスバー"  width="300" height="147" class="alignnone size-full wp-image-911" /></p>
				<h3>1. 動的にステータスバーを消す、色を変更させる</h3>
				<pre class="brush: plain;">
- (void)viewDidLoad
{
	// スーパー・クラスのメソッドを呼び出す
	[super viewDidLoad];

	//ステータスバー off
	[[UIApplication sharedApplication] setStatusBarHidden:YES];
</pre>
				<table>
				<tr>
				<th>setStatusBarStyle:UIStatusBarStyleBlackOpaque animated:YES</th>
				<td>ステータスバーを黒くする</td>
				</tr>
				<tr>
				<th>setStatusBarHidden:YES animated:YES</th>
				<td>ステータスバーが上に引っ込む</td>
				</tr>
				</table>
				<h3>2. ローディング画面時の、ステータスバーを消す</h3>
				<p>しかし、上記のやり方だと、起動時にはステータスバーがデフォルトのままなので、全画面で変更したい場合、info.plistを編集しておきます。</p>
				<p>XCode の/Resourceフォルダ info.plist を開き、<br />
				Information Property List キーの中に UIStatusBarStyle キーを作成する。<br />
				(Information Property List 行を control+クリック で Add Row を選択し、キー名を入力)<br />
				例）値をUIStatusBarStyleBlackOpaque =起動時からステータスバーの色が黒くなる。</p>
				<h4>2-1. ステータスバーを消したい場合</h4>
				<p><img src="http://splitchin.com/tech/wp-content/uploads/2010/03/status-hidden1.jpg" alt="ステータスバー消す" title="" width="300" height="63" class="alignnone size-full wp-image-931" /></p>
				<table>
				<th>UIStatusBarHidden</th>
				<td>チェックすると、ステータスバー非表示</td>
				</table>
				<h4>2-2. 色や透明度を変更したい場合</h4>
				<p><img src="http://splitchin.com/tech/wp-content/uploads/2010/03/statusbar-black.jpg" alt="ステータスバーを黒くする" title="" width="300" height="71" class="alignnone size-full wp-image-913" /></p>
				<p>key: UIStatusBarStyleのValueの設定内容</p>
				<table>
				<tr>
				<th>UIStatusBarStyleDefault </th>
				<td>標準（灰色）</td>
				</tr>
				<tr>
				<th>UIStatusBarStyleBlackTranslucent</th>
				<td>黒く透ける</td>
				</tr>
				<tr>
				<th>UIStatusBarStyleBlackOpaque</th>
				<td>黒くする</td>
				</tr>
				</table>
				<p><!-- Amazon --></p>
				<div class="amazon-area">
				<iframe src="http://rcm-jp.amazon.co.jp/e/cm?lt1=_blank&#038;bc1=FFFFFF&#038;IS2=1&#038;npa=1&#038;bg1=FFFFFF&#038;fc1=333333&#038;lc1=333333&#038;t=i7llcom-22&#038;o=9&#038;p=8&#038;l=as1&#038;m=amazon&#038;f=ifr&#038;md=1X69VDGQCMF7Z30FM082&#038;asins=B0032AMH74" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></p>
				</div>
				<p><!-- /Amazon --></p>
]]></content:encoded>
			<wfw:commentRss>http://splitchin.com/tech/2010/03/29/iphone%e3%82%a2%e3%83%97%e3%83%aa%e3%80%80%e3%82%b9%e3%83%86%e3%83%bc%e3%82%bf%e3%82%b9%e3%83%90%e3%83%bc%e3%82%92%e6%b6%88%e3%81%99/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

