私は本を読んでいます: iOS 5 開発の開始。 その例の 1 つは、UIView を UITableView のテーブル ヘッダーにドラッグすることです。
UIView を UITableView の上にドラッグしても、UIView はテーブル ヘッダーに収まりません。大きな長方形にしか見えません。
私は本を読んでいます: iOS 5 開発の開始。 その例の 1 つは、UIView を UITableView のテーブル ヘッダーにドラッグすることです。
UIView を UITableView の上にドラッグしても、UIView はテーブル ヘッダーに収まりません。大きな長方形にしか見えません。
I have solve my problem. The answer is a little bit tricky, I cannot see the effect as same as the book shown, may be the interface builder has change a little bit. I can only see a small blue line on top of the table.
The view cannot be dragged directly into the table header.
Be aware of the object hierarchy.
リスト(プレースホルダー、オブジェクト)の「テーブルビュー」のすぐ下にビューをドラッグすると、そこに挿入されます。
1 つのことを行い、ペン先でテーブルを選択し、そのプロパティに移動します。ペン先のサイズインスペクターに移動し、セクションの高さを変更する必要があるテーブルビューサイズを選択します。たとえば、80ピクセルにすると、そこにビューを配置して高さを80にすることができます. ビューのフレームも変更して、テーブル ビュー ヘッダーの上に適切に配置します。あなたのペン先からもできることは、それがあなたを助けることを願っています.
ありがとうサビー