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
4
votes
1 answer

rounding my decimal float to nearest half or whole number?

Ok im having issues with my calculations in my app and im pretty sure that it is due to the decimals being to long. This is something that needs to be done anyway because it will drastically shortin the ammount of code i need. below is how i…
Shaun Hornsby
  • 115
  • 1
  • 11
4
votes
2 answers

UIScreen mirroredScreen property always returns nil

I want to present unique content on the external connected display if mirroring is not supported by the device (original iPad) but want to use screen mirroring if it's iPad 2. Now when I try to code this as follows: if ([UIScreen…
Anupam Godbole
  • 415
  • 3
  • 13
4
votes
1 answer

Fetching image From Animating UIImageView

I'm using animation method of for implementing slide show in UIimageView as: mainSlideShowImageView.animationImages=images; mainSlideShowImageView.animationDuration = 75.00; mainSlideShowImageView.animationRepeatCount = 0;…
rptwsthi
  • 10,094
  • 10
  • 68
  • 109
4
votes
2 answers

iOS Safari refresh button. Can I use it?

I have some text field and I need refresh button like in Safari navigation bar. How can I use it instead of making my own?
dormitkon
  • 2,526
  • 4
  • 39
  • 60
4
votes
5 answers

Problem showing/hiding keyboard in iPhone app

In my iPhone app, I am facing some problems related to keyboard show/hide behavior. I have three text fields; when the third text field is clicked, I want to display a UIPickerView and hide the keyboard for that text field. That I can do. Now the…
ios
  • 6,134
  • 20
  • 71
  • 103
4
votes
2 answers

Xcode 4.0.1 "Don't have permission to view" Old project file - Help!

I recently upgraded to Xcode 4.0.1 from the last version of Xcode 3x (not sure which). Install went fine and I can open and view all my old .xcodeproj files without problems. All except one! The error I get inside Xcode is "The file…
Jon
  • 41
  • 1
  • 2
4
votes
1 answer

Why is viewDidLoad called twice when the rootViewController property of UIWindow is set?

There were already a couple of similar questions, but it wasn’t exactly the same as in my case. Just start a new view based project, add viewDidLoad and awakeFromNib with NSLog statements and do the following changes in MainWindow.xib: Remove the…
Rafael Bugajewski
  • 1,702
  • 3
  • 22
  • 37
4
votes
2 answers

Add title and image to navigationbar

I need so set the name of the UIViewController and an image to the navigationBar. So far I am able to display the image, but the title is of course missing. // show image UIImage *image = [UIImage imageNamed: @"bar_icon.png"]; …
nimrod
  • 5,595
  • 29
  • 85
  • 149
4
votes
4 answers

How to send an object as argument when a UIButton is tapped?

I have the following code inside my UIViewController - [flipButton addTarget:self.navigationController.delegate action:@selector(changeModeAction:) forControlEvents:UIControlEventTouchUpInside]; As you can see, it calls a method inside it's…
skålfyfan
  • 4,931
  • 5
  • 41
  • 59
4
votes
1 answer

why gh-unit is better than SenTestCase ( in Xcode4 )?

This post "Unit Testing in Xcode 4" talks about unit test, let me know the best solution "gh unit" , but I know that xcode4 just provides SenTestCase , so question here to know more reasons why you choose gh-unit ? And now xcode4 provide native unit…
Forrest
  • 122,703
  • 20
  • 73
  • 107
4
votes
1 answer

Button size becomes small in iphone sdk 4.0

I have done one app in iphone sdk 3.0 in that i use some buttons in 3.0 size of button are fine but when i use that app in iphone sdk4.0.That time, size of button becomes small.The same button code works in 3.0 but not in 4.0.Please help. Thanks
Akshay Aher
  • 2,525
  • 2
  • 18
  • 33
4
votes
2 answers

in iPhone App set focus on textView

In my iPhone App I have put textField and TextView both and I have grouped them with scrollview now the problem is when I call [textField becomeBecomeFirstResponder]; it sets focus on textField in scrollView and makes content Area visible in…
ios
  • 6,134
  • 20
  • 71
  • 103
4
votes
1 answer

Using GestureRecognizer on an ImageView in a scrollview

I have a horizontal, paged scroll view that houses multiple view controllers, each of which contains a UIImageView. Within each view controller, I am adding a Tap GestureRecognizer to the ImageView so I can perform a specific action when the image…
SSS
  • 179
  • 2
  • 10
4
votes
1 answer

CLLocationCoordinate2DMake behaviour

ok im trying to deal with something strange and i don't know if its just me im trying to use CLLocationCoordinate2D newCoord = CLLocationCoordinate2DMake(54.607313, -1.292585); if i write it like this it works fine, but if i try to…
4
votes
3 answers

Problems linking static libraries in Xcode 4

All was right in the world until I upgraded to Xcode 4 a few days ago. Since then I've had endless problems getting things to work as they should. And I have a crucial update I need to release. I've tried every permutation of settings I can think…
ed94133
  • 1,477
  • 2
  • 19
  • 40