func mediaPicker(_ mediaPicker: MPMediaPickerController, didPickMediaItems mediaItemCollection: MPMediaItemCol
投稿者: dev
【swift】スクリーン回転(Orientation)のアニメーションをしないようにする
override func willRotate(to toInterfaceOrientation: UIInterfaceOrientation, duration: TimeInterval) { UIView.s
【swift】iPadでUIImagePickerControllerを使ってフォトライブラリから画像を読み込むとトリミングがおかしい
iPadで、UIImagePickerControllerを使う時、なんかトリミングがおかしくなる。 sourceType を UIImagePickerControllerSourceType.camera (カメラ)
【swift】アラート(Alert) / アクションシート(ActionSheet)
アラート と アクションシート let alert: UIAlertController = UIAlertController(title: “アラート”, message: “アラート”, preferredStyl
【swift】itunesの曲の再生と曲の終了イベント
MPMediaPickerController から取得した MPMediaItem を元に曲を再生する。 ,AVAudioPlayerDelegate func setPlay(item: MPMediaItem) {
【Adobe AIR】 書き出しができない!「AIRファイル作成エラー could not generate timestamp: remote host closed connection during handshake」
AIRファイルを書き出ししようとしたら、 「AIRファイル作成エラー could not generate timestamp: remote host closed connection during handshak
【swift】プッシュ通知 iOS10
デバイストークン取得&通知 class AppDelegate: UIResponder, UIApplicationDelegate { func application(_ application: UIApplic
【swift】UIView カスタム描画と背景透過
十字のマークを描いてみた、もっと効率のよい背景透過のやり方はあるのだろうか? class CrossDraw: UIView { override func draw(_ rect: CGRect) { let myRe





