Questions tagged [iphone-sdk-4.1]

Refers to the iPhone software development kit, version 4.1.

58 questions
2
votes
2 answers

iPhone simulator keeps app running on Build and Run

I have a problem with my iPhone simulator. Since yesterday when I press Build and run. Xcode builds the project Simulator closes the running app Simulator opens the running app in same state as it closed (multitasking?) The old build keeps…
Saa
  • 1,540
  • 10
  • 22
1
vote
1 answer

How to parse the string using TBXML in iphone sdk?

I tried to parse following String using TBXML. 42Hyder here2012-01-09…
Lion
  • 872
  • 1
  • 17
  • 43
1
vote
1 answer

ASIFormDataRequest login php. help needed

Im trying to login to the member area of a website using the obj c, ASIFormDataRequest. I really need some help. Im stuck now. What shall i do to make it work? example code would be great. Thanks. the login page on the internet:
user1012032
1
vote
2 answers

Store array of ABRecordRef

How can we store and access a list of ABRecordRef so that we can use this in another class and later on?
Baby Groot
  • 4,637
  • 39
  • 52
  • 71
1
vote
1 answer

How to stop/invalidate a NSTimer

Possible Duplicate: NSTimer doesn't stop How can I stop / invalidate a NSTimer?? Below is the code: - (void)autoscrollTimerFired:(NSTimer*)timer { NSLog(@"Each & Every Time this MEthods is called Even if I try to invalidate it in…
Ajay Sharma
  • 4,509
  • 3
  • 32
  • 59
1
vote
1 answer

in ipad simulator how to set screen size to 1x 2x format

For my App I have set the target device family=iPhone/iPad and in project-> Set Active executable to iPad simulator and it was opening my App in iPad simulator in 1x/2x format so i could change the size by using option 1x 2x. now i have upgrated my…
ios
  • 6,134
  • 20
  • 71
  • 103
1
vote
1 answer

Saving a Draft takes very long in iphone inApp Email

I am using MFMailComposeViewController to sent email from my App. It takes around 4 seconds to save a draft but the 'Delete Draft' button completes the task instantly.Both options work fine in simulator but not in my Iphone 3GS running on iOS4.1. I …
1
vote
3 answers

iPhone process a swipe by user

Simple question here: How can I detect when I user swipes their finger on the screen of the iPhone?
Linuxmint
  • 4,716
  • 11
  • 44
  • 64
1
vote
1 answer

how to continue recording automatically if interrupted by an uialert such as text message, push notifications, or low battery status, etc

I have a voice recording app on iPhone OS 4.1. I notice that the app stops recording (maybe because it loses focus) when any alert such as text message or timer or alarms or push notifications and most importantly, low battery alerts, pop up. …
Anand
  • 153
  • 1
  • 8
1
vote
2 answers

Downloading/Uploading a file from a sftp server on the iphone

I need to connect to a sftp/scp server download a file, edit it and then reupload it. As far as i know the SKD itself doesn't give you the ability for secure connections via ftp. Any Ideas?
Staeff
  • 4,994
  • 6
  • 34
  • 58
1
vote
1 answer

Adding a UIView subclass with xib to UIViewController

What am I doing wrong here? Created: CustomTab.h #import @interface CustomTab : UIView { IBOutlet UIView *view; } @property (nonatomic, retain) IBOutlet UIView *view; @end CustomTab.m #import "CustomTab.h" @implementation…
barfoon
  • 27,481
  • 26
  • 92
  • 138
1
vote
3 answers

App crashing during NSUserDefault data removal

When I call this function my app gets crash. I got this error : [__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[1]. How i can resolve it please help if you know. NSUserDefaults *defs =…
1
vote
1 answer

iphone sdk 4.1 Is it possible for a background application to get cellular call events?

I am trying to use CTCallCenter in a background application to receive CTCallCenter events. Is this possible?
user425518
  • 81
  • 1
  • 9
0
votes
1 answer

Setting the Frame of an Object Programatically Has No Effect

I need to me a UIAlertView viewer than the standard size. This is what I'm trying so far: UIAlertView *addNewDevice = [[UIAlertView alloc] initWithTitle:NSLocalizedString(@"Add New Device", "Title for add new device") message:nil delegate:self…
Andy Ibanez
  • 12,104
  • 9
  • 65
  • 100
0
votes
1 answer

Received memory warning, while using animations in UIImageview like [smyImageView startAnimating];

//NsMutableArray //Received memory warning, while using animations in UIImageview like; self.imageArray = [[NSMutableArray alloc] initWithCapacity:IMAGE_COUNT]; // Build array of images, cycling through image names if (![self.imageArray…
Wish
  • 153
  • 2
  • 14