セルがのときにUITableView
アニメーション化することは可能ですか?- deselectRowAtIndexPath:animated
selectedBackgroundView
UIImageView
塗りつぶしのときのように、画像をフェードアウトさせたいと思います。
セルがのときにUITableView
アニメーション化することは可能ですか?- deselectRowAtIndexPath:animated
selectedBackgroundView
UIImageView
塗りつぶしのときのように、画像をフェードアウトさせたいと思います。
私のプロジェクトでは、選択した状態の写真があり、次のように実装しています:
UIView *background = [[UIView alloc] initWithFrame:cell.frame];
background.backgroundColor = [UIColor colorWithRed:239/255.0 green:237/255.0 blue:231/255.0 alpha:1.0];
cell.backgroundView = background;
UIView *selectedBackground = [[UIView alloc] initWithFrame:cell.frame];
selectedBackground.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"selecetedCell.png"]];
cell.selectedBackgroundView = selectedBackground;
多分それはあなたに適しています