---
title: "iPad fullNameFromDevice is not retrieved while iPhone fullNameFromDevice is properly retrieved"  
description: "iPad fullNameFromDevice is not retrieved while iPhone fullNameFromDevice is properly retrieved"  
author: "Manoj Bhatt"  
published: 2013-06-05  
updated: 2013-06-17  
canonical: https://www.mindstick.com/forum/993/ipad-fullnamefromdevice-is-not-retrieved-while-iphone-fullnamefromdevice-is-properly-retrieved  
category: "iphone"  
tags: ["iphone"]  
reading_time: 1 minute  

---

# iPad fullNameFromDevice is not retrieved while iPhone fullNameFromDevice is properly retrieved

Hi [Developers](https://www.mindstick.com/articles/12875/blunders-you-must-avoid-while-hiring-java-developers-to-get-the-best-fulfilling-your-needs),\
I have implemented this [sample](https://www.mindstick.com/news/2174/mars-mission-by-nasa-prepares-for-tests) category to get the "**fullNameFromDevice**" inside my application. Even this example is also not [giving](https://yourviews.mindstick.com/view/80639/regifting-is-far-better-than-giving-away-a-bouquet) me **fullNameFromDevice** for iPad. There is not any issue to read iPhone [device](https://www.mindstick.com/blog/149/retriving-network-device-information-in-c-sharp) or iPad/iPhone simulator's [name](https://yourviews.mindstick.com/view/87450/how-to-generate-a-brand-name-using-linkedin-comprehensive-guide) using this category.Only issue comes with iPad name.What [problem](https://yourviews.mindstick.com/view/81399/tackling-the-problem-of-unemployment-during-corona-pandemic) can be?\
[Suggest me](https://www.mindstick.com/interview/23114/can-you-suggest-me-few-top-directory-submission-site) the appropriate solution of this issue.Your help is a great appreciated.

## Replies

### Reply by Anonymous User

Hi Manoj,\
Your iPad's name doesn't fit naming patterns suggested by this category.\
Look at -(NSString *)fullNameFromDevice:\
if (![self deviceNameContainDeviceKind]) return nil;Then at\
-(BOOL)deviceNameContainDeviceKind{ return [self.name rangeOfString:@"iPhone"].location != NSNotFound || [self.name rangeOfString:@"iPod"].location != NSNotFound || [self.name rangeOfString:@"iPad"].location != NSNotFound;}You can see that if device's name does not contain "iPhone", "iPod" or "iPad", fullNameFromDevice will return nil.


---

Original Source: https://www.mindstick.com/forum/993/ipad-fullnamefromdevice-is-not-retrieved-while-iphone-fullnamefromdevice-is-properly-retrieved

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
