iphone

UILocalNotification on Fri and Sat

How do you set a UILocalNotification to fire every Fri and Sat at 8pm? Thanks ...

How do I program pinch zooming on an image view?

Can anybody tell me the code for PINCH - IN and PINCH - OUT on a image view ...

What is the Objective-C equivalent of Java's parseInt()?

Hi,m anew comer to iPhone...before i have developed for Android..Could any one tell me what is the alternate code in objective C..Thanx in advance Int projectNumber = Integer.parseInt(projectNumber.trim()); ...

Problem with audio streaming

Hi All, I am trying to play audio files streamed from the internet. I am having a strange problem, whenever I try to play the file from the iphone simulator, it is not played but after I copy and paste the url of the file in safari and play it there, it begins to play well in the simulator. I am using NSData *data; NSURL *url = [NS...

iphone sdk: How to add checkboxes to UITableViewCell??

Hi, some time ago someone already asked this question and a few answers were given but i didn't really understand any of them. So i was wondering if anyone could please write an easy to understand tutorial on how to do the things shown on the image below: http://img208.yfrog.com/img208/6119/screenshotkmr.png I would be so greatful if a...

Problem getting an integer from SQLite

Hi! I am working on an iPhone project where we need to fetch data from aa sqlite database. I have done this many times before, and everything works out fine. But now I am having problems fetching the value of an integer field (the primary key). The varchar fields I can fetch with: NSString *forfatter=[[NSString alloc] initWithUTF8Stri...

Do you have to jailbreak the iPhone to install Apps compiled by "Makefile"?

I come across some projects, e.g. the Stumbler (which use private framework for WiFi signal strength), the source code does not have the usual .xcodeproj project file. Instead, it has a "Makefile". I searched around and get an impression that I need to use "Toolchain" to compile the "Makefile", and then "SCP or WinSCP" to the iPhone? I a...

background application for iphone 4

hi all... i want to let my app play sound every 20 min even when the app is on background or the iphone is in sleep mode ... i used: [NSTimer scheduledTimerWithTimeInterval:delay*60.0 target:self selector:@selector(goMethod) userInfo:nil repeats:YES]; that working maybe for 1 hour and then stopped can any one help me to solve this probl...

Why is MKMapView putting me in the sea?

I have this code to set the map at the user's location: MKCoordinateSpan span; span.latitudeDelta=0.2; span.longitudeDelta=0.2; CLLocationCoordinate2D location=mapView.userLocation.coordinate; location = mapView.userLocation.location.coordinate; MKCoordinateRegion region; region.span=span; region.center=location; [mapView setRegion:...

How to know the security type like OPEN, WPA, WPA2, WEP, when using Apple80211 api?

The wifi scanning apps like eWifi, WiFiFoFum and so on in Cydia can know the security type. How the apps know the security type like OPEN, WPA, WPA2, WEP, when using Apple80211 api? The value of CAPABILITIES is 1057, 1025,34,33,2,1073,1041 and 3121, etc... It is too various. I don't know what it represents. I am using "WEP" and "WPA_...

Monotouch -- Playing MP3 on a distant server

Hi, I want to play a MP3 which is on a distant server. What can i do to play the MP3 in a Iphone Application ? ...

show default calendar in my app

Hi, is there an way to push the default calendar of the iPhone on one of my views (= can I call the default calendar to show up)? Than I could use the Event Kit Framework to add some events. Cheers ...

Ad requests never filled with AdMob

Well, I get this message all the time using AdWhirl: Unable to fill ad request. This is a common situation. I think it's from the AdMob network. I also have a couple of other networks (registered yesterday) and I never seem to be getting any ad requests filled. In test mode it does work though. Now is this common and will it pick ...

iPhone / iPad / iPod swipe events javascript

Im looking for (if possible) javascript libraries/plugins to provide swipe events. However I am not after the simple detection of a swipe, for example what jqTouch provides. I wish to create behavior similar to that of the images viewer on the iPod devices. So for example you drag left or right to go to the next image. You have to drag ...

UIScrollView "scroll back"

I have a UIScrollView which has a UIView embedded in it. It have 2 buttons "scroll" and "unscroll".On clicking the "scroll" button, my scrollview scroll up from the bottom of the parent view. Everything works fine until here but when I click the "unscroll" button to push the scrollview back to where it came from, nothing happens. I have ...

table section view data changes on iphone

i did this but still if i scroll table with force data are shuffling UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier]; if (cell == nil) { cell = [[[UITableViewCell alloc] initWithFrame:CGRectZero reuseIdentifier:CellIdentifier] autorelease]; // //cell = [[[UITableViewC...

iPhone 4 Tab Bar Icons

I'm having some issues getting high resolution tab bar icons displaying correctly for iPhone 4. Basically I'm using the Apple guidelines of 96 x 64 for high resolution icons, but when I do this, my icon looks like it is being scaled many times in the tab bar icon area and only part of the icon appears. If I set the icon size to 30 x 30...

Pause NSOperation

I have NSOperationQueue with some NSOperations in it (NSInvocationOperations, in particular). This operations do some calculations and change states of UI elements accordingly (of course, via performSelectorOnMainThread:...), often with use of animations. My UI has UINavigationViewController and some buttons for navigation to another vi...

Keep timers running in background Apps without location services

Is there a way to keep timers running when an App enters background mode without location services running? If I have a timer running in the App with location services on and enter the background then it keeps running. However calling stopUpdatingLocation also stops the timer. I would like the timer to be able to call startUpdatingL...

how can i assign image name to string variable

I am new to iPhone. What i need is i have to assign image name (eg.parrot.jpg) to NSString value.i need to display image in imageview using this string variable. apporxmatly imageview.image = NSStringvarible; where NSStringVArible is image name. How can i done this? ...