UIDeviceクラスのUIUserInterfaceIdiomを使います。
enum UIUserInterfaceIdiom : Int {
case Unspecified
case Phone // iPhone and iPod
case Pad // iPad
}
このような定義があるので、判別は下記のようにかけます。
if UIDevice.currentDevice().userInterfaceIdiom == .Phone {
println("iPhone")
}else if UIDevice.currentDevice().userInterfaceIdiom == .Pad{
println("iPad")
}else{
println("Unspecified")
}
公式リファレンス:UIDevice
https://developer.apple.com/library/ios/documentation/Uikit/reference/UIDevice_Class/index.html#//apple_ref/c/tdef/UIUserInterfaceIdiom