アプリで水平方向のページングを作成したいのですが、使用できることがわかりましたがUIPageViewController
、ストーリーボードのみです。
古い *.xibs を使用できますが、移行ストーリーボード (デバイスが ios5 の場合) または xib (デバイスが古いファームウェアの場合) の後に使用する書き込みコマンドはありますか? はいの場合、どのように?ここに作りたい:
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
[tableView deselectRowAtIndexPath:indexPath animated:YES];
if (purchased == 1 && [indexPath row] == 1) {
} else if (iOSversion > 5) {
//Use storyboard
} else{
DetailsViewController *detailViewController = [[DetailsViewController alloc] initWithNibName:@"DetailsViewController" bundle:nil];
detailViewController.item = [rssItems objectAtIndex:floor(indexPath.row)];
[self.navigationController pushViewController:detailViewController animated:YES];
[detailViewController release];
}
}