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

Recreate persistence store after removing previous sqlite store file

I would like to remove my sql lite file and set up the persistance store again. //Explicitly write Core Data accessors - (NSManagedObjectContext *) managedObjectContext { if (managedObjectContext != nil) { return…
pethel
  • 5,397
  • 12
  • 55
  • 86
1
vote
0 answers

problem with linkedIn and twitter (Oauth and SA_OuthTwitterEngine)

i am implementing twitter + fb +linkedIn. fb+linkedIn = working fine, but i need also to integrate the twitter with fb and linkedIn. I have sample code of twitter that is working fine independently and separately. I added the libraries (Oauth,…
Ketan Shinde
  • 1,847
  • 4
  • 18
  • 38
1
vote
3 answers

How to get the height and width of the image placed in a custom cell in ios

I have a custom cell,and it has a image in it..and I am accessing that image in this way in - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { [[tableCell specialImage] setImage:[UIImage…
Ranjit
  • 4,576
  • 11
  • 62
  • 121
1
vote
2 answers

Changing Image of Button When the button is selected In Iphone

I have two buttons on my first view,so when I click on one of the button the view changes,so I have two images one for the default state and one for the selected state, first i tried with xib,goin into the properties and changing the states and then…
Ranjit
  • 4,576
  • 11
  • 62
  • 121
1
vote
1 answer

How do i replace spaces with +'s in Xcode

I am building an app with a lot of urls being called from a MySQL server. What I need to do for my app is take the textfield text and send it (which i already know how to do) BUT i need to replace the spaces with + (pluses)
inVINCEable
  • 2,167
  • 3
  • 25
  • 49
1
vote
1 answer

How to reset the content URL for MPMoviePlayerController when playing a video?

I want to reset the content URL for the MPMoviePlayerController object when playing a video. on a button click, I am setting the content URL like below, [videoPlayer setContentURL:url]; But i am getting the "Bad Access" error. Is there a way to…
jai
  • 11
  • 2
1
vote
1 answer

Handling network events on-the-fly while in background in iOS 4.2.1

Is there any way to handle network events on-the-fly in iOS 4.2.1 when app in background? To be more specific, here are two examples: Receiving VoIP call while another app in foreground Receiving XMPP message while another app in foreground Use of…
niveuseverto
  • 280
  • 1
  • 3
  • 13
1
vote
4 answers

How to parse soap request in iphone

I am trying to send a request to server with my soap request and trying to get the server response,so I got the server response eith many tags.. below is my server response
Ranjit
  • 4,576
  • 11
  • 62
  • 121
1
vote
3 answers

Pass method as an SEL argument to another class method

I have an appDelegate that init an instance of a class called LocationService. I just want to pass to this instance by init a method that this class will run. I got this exception: 2011-08-16 20:38:15.233 WalklogAnywhere[8258:307] -[LocationService…
Elad
  • 479
  • 3
  • 11
  • 21
1
vote
3 answers

iOS 4.2 How to Display a different image on orientation change?

iOS4.2 When my app launches I display an image that is visible until my webview loads. After the webview loads that image is set to hidden. How do I do the following: If portrait, then display DefaultPortrait.png if Landscape the display…
1
vote
1 answer

iOS 4.2 Default.png loads then 1 sec of solid gray then my UIWebView appears

How do I make my app seamless from the default.png to my App? Should I load it somewhere else? FYI I only have an iPod Touch 2nd Gen for testing running 4.2.1(8C148) The 4.2 simulator does the same thing. 4.3 simulator works fine. -…
user864465
  • 83
  • 1
  • 8
1
vote
2 answers

How to get my iOS4.2 SDK developed code working with iOS3.1.3?

I am new to iPhone development. I started developing a project using iOS4.2 SDK. It works properly on both an iOS4.2 device and simulator. Later I realized that my app wasn't working on devices with iOS3.1.3. To solve this I updated the "Deployment…
akshata
  • 41
  • 3
1
vote
1 answer

UI distortion when displaying multiple image thumbnails on iPhone

I want to display thumbnail images on a view. I am using following method to add an image to thumbnails. Images are taken from the database When I add a single image, everything works fine. But if I call this method in a loop to add multiple images,…
1
vote
1 answer

What is the maximum level of storage for app data in allowed for ios Devices?

Possible Duplicate: What is the maximum sandbox size on iPad? Hii to all, we have a assignment for ios app which contains client files which comes around 1 GB , so user opens the app , upon authentication - it will download files from remote…
Karthikeyan
  • 1,790
  • 12
  • 19
1
vote
2 answers

configure: error: C compiler cannot create executables in mac os terminal

i'm trying to Building libCURL in iOS 4.2, i do some steps in the terminal. The steps are : cd curl-7.21.2 export CC=/Developer\ 4.2/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-gcc-4.0.1 export CFLAGS="-isysroot /Developer\…
R. Dewi
  • 4,141
  • 9
  • 41
  • 66