Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
グループ化UITableViewCellされた場合、背景を設定すると、上部と下部のセルに丸みを帯びた角があることに気付きました。しかし、それをクリックすると、選択した状態で丸みを帯びた角が表示されます。
UITableViewCell
[tblView.layer setCornerRadius:0.0f];
次に、セクションの作成に進みます。必要なものが作成され、上下に丸い半径を持つすべてのセルが作成されます。
コードを使用してテーブルビューの背景色を設定します。例:[tableView setBackgroundColor:[UIColor redColor]];