MCQs > IT & Programming > IOS Technical Test > Which allows it to determine if an application is running on iPhone, or if it's running on an iPod Touch?

IOS Technical Test MCQs

Which of the following allows it to determine if an application is running on iPhone, or if it's running on an iPod Touch?

Answer

Correct Answer: NSString *deviceType = [UIDevice currentDevice].model; if([deviceType isEqualToString:@"iPhone"])

Explanation:

Note: This Question is unanswered, help us to find answer for this one

IOS Technical Test Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

IOS Technical Test Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it