I have the complete code in view controller. So, i need to display the same output in iPad,iPhone and iPod. So, am using single view controller for processing data.For this pur
[UIDevice currentDevice] will give you the details about the current device. use this in a if loop and select the xib for iphone or i pad.
[UIDevice currentDevice]
if([UIDevice currentDevice].userInterfaceIdiom == UIUserInterfaceIdiomPad) { load 1 xib } else { load another }