[[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPhone
調用方法:NSString * str = [UIDevice currentDevice].model;

 

NSLog(@"%@",str);

 

arrow
arrow
    全站熱搜

    戮克 發表在 痞客邦 留言(0) 人氣()