tableView に関する設定の説明です。
テーブル内のセクション数を設定する
以下の例では、2つのセクションをもつテーブルになります。
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
return 2;
}
セクション内の行数を指定する
以下の例では、最初のセクションは、2行のデータを表示し、次のセクションでも2行のデータを表示します。…
.htaccessに以下を記述してルートに設置
# Various rewrite rules.
<IfModule mod_rewrite.c>
RewriteEngine on
# Modify the RewriteBase if you are using Drupal in a subdirectory and
# the rewrite rules are not working properly.
RewriteBase /
# Rewrite URLs of the form 'index.php?q=x'.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
</IfModule>
参考:http://eru-net.jp/web/?itemid=58
この投稿へのコメント
コメントはまだありません。