• 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31

The code below is example which toggles view which covers status bar.

ruby>>
import UIKit

class
ViewController: UIViewController {

var	uWindow:	UIWindow!

@IBAction	func
Do( AnyObject! ) {
	if uWindow {
		uWindow = nil
	} else {
		uWindow = UIWindow( frame: UIApplication.sharedApplication().statusBarFrame )
		uWindow.backgroundColor = UIColor( white:0, alpha:0.5 )
		uWindow.windowLevel = UIWindowLevelStatusBar + 1
		uWindow.hidden = false;
	}
}

}

<<--

posted by Saturn Saturn on Mon 4 Aug 2014 at 18:25 with 0 comments
Contents rssrss
Value Transformer
AES & Blowfish in swift (CBC)
OreOre.pem の作り方
JSON Chat Server Skelton in GoLang TLS Ver.
JSON Chat Server Skelton in GoLang
UITextView と、UITextField でキーボードが出た時の Notification の順番が違う
Making window which covers iPhone's Status Bar
UIImagePickerController の編集領域
UIView の tag property
UILocationManager
Services from s21g
YOMU Web小説リーダー
小説投稿サイトの公式ページを開き、WebView表示と読み上げ向け表示を切り替えて、移動中や作業中にもWeb小説の続きを聴きやすくするiPhoneアプリです。
補助探
公開されている補助金・助成金情報を集約し、条件に合う制度を探しやすくするサービスです。
jotter.me
個人開発者のためのホスティング一体型ノートサービス
ハンドミラー
iPhone向けの手鏡アプリ
ツイプロ(twpro)
Twitterプロフィールの高速検索エンジン