How to display iphone version,IOS version,name of the the Network Provider in my app?

I am developing an iPhone app. In its about page I want to display the iPhone version, iOS version, and the name of the the Network Provider. I want fetch these from the phone itself. How would I do that? Please Help.

Thanks in advance.

-------------Problems Reply------------

Model Version:

NSString *model = [[UIDevice currentDevice] model];

iOS Version:

NSString *systemVersion = [[UIDevice currentDevice] systemVersion];

Carrier name (iOS 4.0 minimum):

#import <CoreTelephony/CTTelephonyNetworkInfo.h>
#import <CoreTelephony/CTCarrier.h>

CTTelephonyNetworkInfo *netInfo = [[CTTelephonyNetworkInfo alloc] init];
CTCarrier *carrier = [netInfo subscriberCellularProvider];
NSString *carrierName = [carrier carrierName];
[netInfo release];

Category:iphone Views:1 Time:2011-10-03
Tags: iphone ios4

Related post

  • How to Print a document from iphone below ios version 4.2 2011-10-12

    need your help. I am able to print a document from iphone having ios version 4.2 & above but what about ios below 4.2 like 3.2 or some other. For ios 4.2 there is a class named UIPrintIntractionController which smartly handles printing. But i wan

  • iPhone / iPad IOS File Permissions / SandBox anyway to give permissions to another app? 2011-09-09

    Is there anyway to "break" the sandbox and give permissions to another running APP to allow for file access read / write / delete for the other APP? I did a bit of looking and have not found a way yet. --------------Solutions------------- On a normal

  • What percentage of iPhone users using each iOS version 2010-09-06

    I am looking for up-to-date report of iOS versions deployment in percentage. Something like Chitikia Report but up-to-date. This info is extremely important for taking a decision of what iOS version to deploy my App... Any idea where to find that? Is

  • Displaying different Launch Images based on IOS Version 2012-01-26

    I have a situation causing me to have a need to support two different launch images for Portrait orientation on iPads as the views will be different depending on the IOS version. I'm developing iPad/iPhone app that supports a UISplitViewController as

  • Running an older iOS version in the iPhone simulator 2010-07-17

    I want to test my application on older iOS versions. I am using weak linking for new frameworks and branches in the code for different OS version. But after some complaints from users running iOS 3.1.2, I need to do some testing myself. I don't have

  • How to test iphone app using simulator with previos ios version in xcode 4.1 2011-08-13

    In xcode 4.1 there is only one ios version of simulator - 4.3.2. We can set up the deployment targer but I couldn't find where to change the ios version of simulator.We want to test that our app will run on devices with ios 3.1. How can we do this us

  • How to get iPod/iPhone iOS version from a Mac OS X application? 2011-10-27

    I'm developing a Mac OS X application that uses applescripts to transfer songs to an iPod/iPhone/iPad connected. I was wondering if there is a way to obtain the iOS version of the iPod/iPhone/iPad connected to the Mac? I'm using Xcode, so doesn't nee

  • iOS version to be consider when developing iPhone/iPad applications 2012-03-28

    What are the iOS version do i need to consider when developing iPhone application? Based on my research, iOS 3.x, 4.x and 5.x have been considers as available iOS version. But when I consider with devices there lack devices which is running iOS 3.x.

  • How to increase minimum iOS version for iPhone app installation? 2010-10-21

    I recently submitted a new version of my app to the app store, and increased the Deployment Target to 3.2, to make the app no longer able to install on iOS 3.1.3 which is not compatible with it. However, when the app went live on the store, it still

  • iphone ios version 3.2 and earlier - button background image rendering 2011-06-21

    I am developing code for ios 4.0.1 that I am now testing with earlier versions. My problems begins with ios verison 3.2 and earlier. I notice my buttons with background images are being rendered at full size. The images are 512x512 but the button siz

  • iPhone - How to determine the deployment target iOS version of an existing project 2012-02-06

    I have an existing huge iOS project, set for iOS 5.0 target by default. But I'm pretty sure that it is also 4.?.? compliant. How may I know the minimum iOS version my app can be targeted to, without having to compare the whole code word by word with

  • iPhone: Manage frameworks according to ios versions 2012-04-13

    In my iPad App, I have done coding for twitter. For ios version 4.0,4.1,4.2 and 4.3. And ios version 5.0. I have done separate coding for twitter. if([[[UIDevice currentDevice] systemVersion] floatValue]>=5.0) like this. The problem is when I run

  • XCode/Simulator: How to run older iOS version? 2010-11-23

    I'm thinking of upgrading to iOS SDK 4.2. But what I'm wondering is if I'll still be able to run the simulator as iOS 3.2. This is because I'm creating iAds for iPad but I still want to check if my program will run with iOS 3.2. Note: I have seen a s

  • How can we programmatically detect which iOS version is device running on? 2011-10-21

    This question already has an answer here: How to check iOS version? 29 answers I want to check if the user is running the app on iOS less than 5.0 and display a label in the app. How do I detect which iOS is running on user's device programmatically?

  • Check if iOS version >= 4.2 and revise CSS based on result 2012-01-04

    I am using to display cufonts on a site, however, it is only compatible with mobile browsers >= 4.2 iOS. I have used jQuery to test if the visitor is using iOS and to display specific content based on that in the past (no sweat), but I

  • iPhone update application version (in Settings) 2009-08-21

    Possible Duplicate: How can I display the application version revision in my application's settings bundle? I have an iPhone application that displays the current version as a Settings constant (just like Skype does). When I released the first versio

  • Weak linking to support previous iOS versions 2010-07-18

    I'm trying to support older iOS versions in my app. I initially thought I only have to set those frameworks to "weak linking" that are not present in the older OS, e.g. the iAd framework. And then make sure that I don't call unsupported APIs in the c

  • How to check iOS version? 2010-07-26

    I want to check if the iOS version of the device is greater than 3.1.3 I tried things like: [[UIDevice currentDevice].systemVersion floatValue] but it does not work, I just want a: if (version > 3.1.3) { } How can I achieve this? --------------Sol

  • How to build against older iOS versions with the latest Xcode downloads? 2010-09-19

    I have multiple versions of Xcode installed. I can build my project against older iOS versions by launching old Xcode. But how could I use newer Xcode versions to build against older iOS versions? In the project settings there's a Base SDK dropdown.

Copyright (C), All Rights Reserved.

processed in 0.106 (s). 11 q(s)