Here's a simple way to check whether the iOS version is 5.
Up vote 0 down vote favorite share g+ share fb share tw.
I want to make horizontal paging in my app and I found that I can use UIPageViewController, but it's only for storyboard. Can I use my old *. Xibs, but write command to use after transition storyboard (if device has ios5) or xib (if device has older firmware)?
If yes, how? I want to make it here: - (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; } } iphone ios xcode ios5 uistoryboard link|improve this question edited Nov 20 '11 at 19:32jrturton17.5k31030 asked Nov 20 '11 at 11:30itruf1489 62% accept rate.
Here's a simple way to check whether the iOS version is 5: #define IOS_5 UIDevice currentDevice systemVersion hasPrefix:@"5" Then just use: if (IOS_5) (Of course, when iOS 6 comes out you'd have to do a little more parsing. ).
I know it, but I don't know, how to use storyboard. – itruf Nov 20 '11 at 18:40 -1 this is never the recommended way to check for device and framework capabilities. – Dave DeLong Nov 20 '11 at 19:39.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.