エラー記録 日記の検索 詳細 一覧 カテゴリー お知らせ リンク集 チップス ページビュー 20131
UIViewControllerと同じで、継承してshouldAutorotateToInterfaceOrientation:でYESを返します。 #import <UIKit/UIKit.h> @interface MyTabBarController : UITabBarController @end #import "MyTabBarController.h" @implementation MyTabBarController - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { return YES; } - (void)didReceiveMemoryWarning { [super didReceiveMemoryWarning]; } -
Major danger that you need to keep in mind before making the transaction online for purchasing goods There are lots of horrible stories that explain how people in Australia get hacked and their bank got empty after making an online transaction and due to that there are many people who are now avoiding online shopping just because they have heard that kind of stories. There certainly are some dange
iPhone で San Francisco の鉄道・バス路線図を表示するサンプルアプリを作ってみたのでソースを公開します。 http://github.com/psychs/iphone-samples/tree/master/SFMap 単純に地図の PDF を描画するとすごく重くなってしまうので、大きさの違う画像をいくつか用意して、ズームに従って表示する画像を変えていくようにしています。 UIScrollView を使ってナイーブに実装すると、UIScrollView のズーム状態を外からコントロールすることができないので、ズームが終了するたびに UIScrollView 自体を作り直したりする必要があります。 そこで、今回は UIImageView のサブクラスを作り、 - (void)setTransform:(CGAffineTransform)value; { float s
http://mtl.recruit.co.jp/blog/2009/01/iphoneiphonesdk.html つまり、デフォルトでは、autoreleaseされたインスタンスは、このプールにどんどん、追加されてゆく。ちょっとした文字列であっても NSString.stringWithFormatを乱発すると、メモリ不足になりかねないということです。注意、注意。 http://mtl.recruit.co.jp/blog/2009/01/iphoneiphonesdk.html NSAutoreleasePoolはイベントループが一周するたびに生成と破棄を繰り返します。 ですので、アプリケーション終了まで、オブジェクトが溜まっていくということはありません。 たいていは、autorelease済みのオブジェクトはメソッドを抜けた後に解放されます。 ひとつのメソッドで、一時オブジェクトを
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く