Questions tagged [ios4]

The 2010-2011 version of the iPhone/iPad/iPod Touch/Apple TV operating system family, made by Apple.

iOS 4 was made available to the public for the iPhone and iPod Touch on June 21, 2010. It has been succeeded by which was released on October 12, 2011. The latest version of iOS 4 is 4.3.5.

This is the first major iOS release to drop support for some devices. It is also the first major iOS release that iPod Touch users do not have to pay for.

Support

The iPhone 3G and iPod Touch 2nd generation have limited features, while the iPhone 4, iPhone 3GS, iPod Touch 3rd & 4th generation have all features enabled. The iPhone and iPod Touch 1st generation cannot run iOS 4.0 and above. iPad compatibility was added with the release of iOS 4.2.1 on November 22, 2010.

Related

10676 questions
40
votes
3 answers

How can I create and display a UISlider programmatically in iOS?

I found the code below in the Apple documentation and added it to my viewDidLoad method but the slider doesn't appear when I run the code. CGRect frame = CGRectMake(0.0, 0.0, 200.0, 10.0); UISlider *slider = [[UISlider alloc]…
Christian Gossain
  • 5,942
  • 12
  • 53
  • 85
39
votes
7 answers

How to solve this error? "property with 'retain(or strong)' attribute must be of object type"

I have been working on an app all day which has been working fine until Xcode downloaded libraries or something and then it started having issues. I am just trying to create the getter/setter methods to get a couple of arrays out of my APPDelegate.…
Rob
  • 2,319
  • 4
  • 20
  • 18
39
votes
6 answers

Day Name From NSDate?

I would like to show the name of day in my iPhone application and i don't found the solution. Thanks for help
Amine Arous
  • 635
  • 1
  • 6
  • 13
39
votes
6 answers

How can I find out if the iPhone user currently has a passcode set and encryption enabled?

I'm writing an iPhone application that requires its data to be encrypted. I've learned how to turn on encryption for files by setting the NSFileProtectionComplete attribute. I also know how to check the iPhone version to make sure they are running…
Mike
  • 1,727
  • 2
  • 19
  • 32
38
votes
7 answers

Moving Onto The Next UITextField When 'Next' Is Tapped

I have an iPad application which has a sign up form within it. The form is very basic and contains only two UITextFields which are for Name & Email address. The first TextField is for the candidates Name, When they enter their name in and press…
Paul Morris
  • 1,763
  • 10
  • 33
  • 47
38
votes
9 answers

UISlider with ProgressView combined

Is there an apple-house-made way to get a UISlider with a ProgressView. This is used by many streaming applications e.g. native quicktimeplayer or youtube. (Just to be sure: i'm only in the visualization interested) cheers Simon
endo.anaconda
  • 2,449
  • 4
  • 29
  • 55
38
votes
6 answers

How to keep an iPhone app running on background fully operational

first of all, I know there is only support for voip, audio and location apps to run in background and that they will run just while the audio is been played or while using location services, etc. What I want to know is if there is a way to keep my…
Paul N
  • 1,901
  • 1
  • 22
  • 32
37
votes
8 answers

iPhone :UITableView CellAccessory Checkmark

In iPhone App on click of table view cell I want to display Table view cell Accessory type Check mark for that on didSelectRowAtIndexPath i am writing code if(indexPath.row ==0) { [tableView…
ios
  • 6,134
  • 20
  • 71
  • 103
37
votes
1 answer

Cancel [self performSelector:... withObject:nil afterDelay:20];

I call method sr in viewDidLoad with below code,how can i cancel it before that method sr will call? [self performSelector:@selector(sr) withObject:nil afterDelay:20];
SajjadZare
  • 2,487
  • 4
  • 38
  • 68
37
votes
7 answers

How to remove a UIWindow?

I thought it was easy as [myWindow resignKeyWindow] and [self.window makeKeyAndVisible] but I guess not… Would you guys know what to do? Thanks :)
G33kz0r
  • 750
  • 1
  • 8
  • 17
37
votes
11 answers

UISearchBar disable auto disable of cancel button

I have implemented a UISearchBar into a table view and almost everything is working except one small thing: When I enter text and then press the search button on the keyboard, the keyboard goes away, the search results are the only items shown in…
rplankenhorn
  • 2,075
  • 2
  • 22
  • 32
36
votes
4 answers

ApplicationWillTerminate in iOS 4.0

The applicationWillTerminate delegate method is not getting called in iOS 4.0 When I hit the Home button I am seeing the applicationWillResignActive and applicationDidEnterBackground delegate methods getting called. -…
Biranchi
  • 16,120
  • 23
  • 124
  • 161
35
votes
2 answers

How to protect app IPA from hacks if reverse engineering is possible

Recently we developed and published a mobile banking app on the app store, for a big banking organization. The bank hired a security firm to perform ethical hacking over the app to see if it, in anyways compromises confidential data. We recently…
Vin
  • 10,517
  • 10
  • 58
  • 71
35
votes
6 answers

iPhone : How to check whether a substring exists in a string?

I have some string name and I want to compare whether that string contains substring like "_thumb.png".
Devang
  • 11,258
  • 13
  • 62
  • 100
35
votes
11 answers

Exit application in iOS 4.0

Before iOS4.0 clicking the home button on iPhone exits the application, and Apple had in their guide that programmatically exiting the application was not accepted. now everything changed in iOS4.0, clicking the home button puts your app in a…
Tamer
  • 537
  • 1
  • 7
  • 15