Questions tagged [ios-4.2]

For issues relating to using iOS, version 4.2.

iOS is an operating system for mobile devices developed by Apple Inc that they currently use in their iPhone, iPod touch and iPad devices. It is optimized for portable (including handheld) hardware with touch interfaces.

See also for further information.

310 questions
1
vote
1 answer

Textfield cursor placement issue in iOS 5 (working fine in iOS 4)

I have textfield cursor issue in iOS 5 where as in iOS 4 it is working fine. The bottom text field is iOS 4 and top one is iOS 5. The starting space in the front is missing in iOS 5. Can any one please help how can I fix this? The code is as…
user564963
  • 2,284
  • 5
  • 24
  • 33
1
vote
1 answer

iOS: Localization intermittently broken

I'm having a strange problem with the localization of an app. It was working fine in a previous version, but it somehow stopped working recently, with no discernible changes to the localization files (I did add one language, but that is all). When I…
mayonaise
  • 129
  • 2
  • 12
1
vote
3 answers

iOS 4.2.1 visual bugs in Release Mode, but not Debug Mode or iOS 5

When compiling an iOS app, everything looks great in the following scenarios: iOS 5.0.1, Debug Mode iOS 5.0.1, Release Mode iOS 4.2.1, Debug Mode When I Build to an Archive in Release Mode, and run on iOS 4.2.1, there are a multitude of visual…
jverdi
  • 1,506
  • 13
  • 14
1
vote
2 answers

ADBannerContentSizeIdentifier320x50 deprecated.. now what?

The following constant is deprecated in iOS 4.2 ADBannerContentSizeIdentifier320x50 So for an app that is already released will this be a problem in future OS versions. In iOS 4.2 they introduced ADBannerContentSizeIdentifierPortrait If I want to…
Anand
  • 4,182
  • 6
  • 42
  • 54
1
vote
1 answer

Running on device 4.2.1 with XCode 4.2

I have xCode 4.2, and I've done all the steps about the $99 ios dev program. Now I need to test my project on my device, which is an iPhone4 in 4.2.1, but I failed to run the app on the device, where the xcode says Xcode cannot run using the…
Wang Liang
  • 941
  • 2
  • 15
  • 34
1
vote
1 answer

How to retrieve the row and col of selected button in an array Of buttons in iOS

Assuming I have created a 2DArray of buttons using the following code: for (NSInteger rowIndex = 0; rowIndex < 6; rowIndex++) { NSMutableArray *rowOfButtons = [[NSMutableArray alloc] init]; for (NSInteger colIndex = 0; colIndex < 7;…
Ranjit
  • 4,576
  • 11
  • 62
  • 121
1
vote
2 answers

testing app on device does nothing

I am trying to test an app on my iOS 4.2.1 device using XCode 4.2 and the latest iOS SDK. The application does not have any functionality that is specific to iOS 5.0. When I run on my devide it says "Build successful" and then "Finished running app…
tutiplain
  • 1,427
  • 4
  • 19
  • 37
1
vote
2 answers

Updated to Xcode 4.2 and can´t run projects in 4.3 simulator

I ´ve just updated to Xcode 4.2 with iOS 5 and my older projects run OK on iPhone iOS 5 simulator , but I can´t run it on iOS 4.3 simulator or in my iPhone 3G 4.2.1. The application crash. What can I do?, I´m starting to think it was not a good idea…
Tonidurans
  • 25
  • 1
  • 4
1
vote
1 answer

In-App purchase works on iOS 3&5 but not on iOS 4

I have a problem I cannot solve and I'm stuck. I've implemented an in-App purchase screen, The problem is that when I'm checking that on iOS3.1.3 it works perfectly also on iOS5 simulator, but when using iOS4 I dont get and products on the…
1
vote
2 answers

How to use singleton in iphone app?

hello all m a newbie to iphone development. I have 5 themes in my application. I have static images for every theme(for labels n buttons and all), but i dont know how i can apply or change new theme to whole application. I read through singleton but…
NSException
  • 1,268
  • 3
  • 14
  • 28
1
vote
1 answer

Changing text on label with button click

I want to know how we can change text on label with button click,i have 2 buttons named add and minus,if we click on add button,on each click ,it will increase from 1-10,and if we click on minus button ,it should reduce from 1-10, I tried to do some…
Ranjit
  • 4,576
  • 11
  • 62
  • 121
1
vote
1 answer

Truncation of body message when using '&' character with MFMailComposeViewController and MFMessageComposeViewController

I have an iPhone app that sends in app email (using MFMailComposeViewController) and SMS messages (using MFMessageComposeViewController). It works fine sending both types of messages, but I have run into a strange issue when the last word of a…
Jonas
  • 625
  • 1
  • 6
  • 18
1
vote
1 answer

how to set MaxDate and MinDate to DatePicker returned from webservice on ios

I have a an XML response which returns the below data as response Start Day of the Week-Wednesday End Day of the Week-Sunday Start time -16:00 End time -19:00 Now I know how to parse these values ,but I am getting confused on how can I set these…
Ranjit
  • 4,576
  • 11
  • 62
  • 121
1
vote
2 answers

how to release the system libraries allocations in iphone(Frame work related)

i m facing big problem with system libraries allocations. i didn't get any leaks from my application still so much allocations.i attached various screen shoots. in my application using custom picker which get all images from assert library.which are…
Srinivas
  • 983
  • 9
  • 21
1
vote
3 answers

4.3 app won't work on 3G iPhone running iOS 4.2.1?

I'm fairly new to this so please go easy on me if this is a dumb question. I set the base SDK to 4.3 and deployment target to 4.0 so in theory, it should run on everything in-between. The app works with no problems on all iPad and iPhone simulator…
Jessica
  • 249
  • 5
  • 12