There's an echo in my head

日々のメモ。

2013-09-11から1日間の記事一覧

UIBarButtonItemに独自の画像を使う

目的の画像をmyButton.png、1x1透過pngをtransparent.pngとする。 UIBarButtonItem *item = [[UIBarButtonItem alloc] initWithImage:[UIImage imageNamed:@"myButton"] style:UIBarButtonItemStylePlain target:aTarget action:anAction]; [item setBackgro…

このブログに出てくるコードスニペッツは、引用あるいは断りがない限りMITライセンスです。