iphone

iPhone real time notification from a server, without using Apple push notification

Hello, I'm looking for a way to get real time notification from a server in an iPhone App. I don't want to use Apple Push Notification as I have many notifications. My web service is coded in PHP, and I haven't figured out an easy way to implement this functionnality. Any idea what should I do? Thx a lot for your help! EDIT : I'm look...

Consolidate annotations on a zoomed MKMapView

There are a number of bad ways to go about what I want to do, but this seems like one of those cases of "there must be a better way". I am using an MKMapView in an iPhone app that displays a number of annotations. Pretend for conceptual discussion that each town in a US state has an annotation, so there's a fairly dense pile of annotati...

How do I insert a welcome screen to my Navigation-Based Iphone App?

I am new to Iphone App develoment and I was wondering how to insert a welcome screen when my app first start up. The app is primarily navigation based. There are tables that users can drill down and see a characteristic of the item that they selected. I want there to be a welcome screen that gives two options. But I don't want this t...

Are the any free windows emulators available to test web sites against an iPhone?

I am looking for iPhone emulation software to test a couple of internal web applications against the iPhone. There are a few quirks occuring with iPhone users that would like to fix but I am unsure how to test them. For example one of the issues is that numbers are showing up as phone number links on the iPhone which 99% of the time is...

How big should a UIBarButtonItem image be?

I'm looking to create my own custom Sort By Date and Sort By Number buttons that I plan on placing in the navigation bar as the right button. How big should my image be to appropriately fill the space -- the UIBarItem documentation page doesn't list anything about the size the image should be. ...

UITableViewController problems

I have a nib that contains two TableViews. The table views are of the same class that I have created that is a subclass of a UITableViewController. I believe that everything is hooked up correctly. However, when I set the UITableView to the UITableViewController then run [uitableviewcontrollervariablename reloadData]; I first get a w...

Implementing iPhone Store Kit while adhering to MVC convention

I am trying to come up with good design while implementing Store Kit. Trying to follow MVC convention, I have the following Model: Store Observer View: Some View that will display UI (product selection, etc) Controller: My View Controller Should my View Controller instantiate a Store Observer Class for product request and update the U...

Warp image animations on iPhone

Hi, just working up to building another app and we'd like to include the ability to animate regions of the screen in response to device shakes/touches etc. For example you could tap the screen and the device would animate a 'poke' into the image at that point (think this would be a lens type effect, like a weight on a trampoline) or you ...

Facebook connect and the "session" object

I'm trying to create an iPhone app that connects to FB using their API. The documentation says to do as such to session = [[FBSession sessionForApplication:@"key" secret:@"secret" delegate:self]retain]; ... but what is this "session" object. How do I define it? If I just use this code I get errors saying that "session" is undefined. ...

How to get AppID on iPhone using SDK/programmatically?

Hi All, I want to send the AppID as a http URL parameter for all webservice requests, but I do not know how to get the AppID on iPhone programmatically. Does Apple provide any API to obtain the AppID? Somebody please help. ~Neeraj ...

Open source GPS apps?

Are there any full featured GPS applications available with source for the iPhone, preferably that use Open Street Map to get data? None of the current offerings work very well with Voiceover on the iPhone, but it'd be a lot easier to modify an existing app to work with Voiceover then write one from scratch. ...

How to drag layers in sync

I have a layer and several child layer to this main layer. I can drag each child layer separately using ccTouchMoved method. I need to drag the main layer so the other layers will follow, but how Can I drag the main layer through the ccTouchMoved? Thank you. ...

error: request for member 'bounds' in something not a structure or union

Hi all, I'm getting the above error when compiling an iPhone app using the core-plot framework. I have this view controller's view linked to a CPLayerHostingView in IB. Here's the sample code from the viewDidLoad() function. - (void)viewDidLoad { [super viewDidLoad]; graph = [[CPXYGraph alloc] initWithFrame: self.view.bound...

Adding a UITabBarController to an UIViewController

Hi guys, I've got a sample application on http://github.com/niklassaers/Test-iPhone-TabBar-App that shows my problem: I have a regular view-based application, and at some point (in this case when I click a button) I want to load a tabbar controller and display it. I believe this is what I should be doing: MyTabBarController *tabs = [[M...

Jquery Image Rotator with iPhone-like Page dots

I need a jQuery Image Rotator that rotates 4 images (fades in/out every 5 seconds or so), but it has the iPhone page dots to show which one is currently shown (Example of Dots). How would you do this? Any help would be appreciated. ...

.pls with SafariMobile no more works on iPhone OS 3.1.2 ?

Hello, Are you able to play a .pls with SafariMobile on iPhone OS 3.1.2 ? ex : http://www.somafm.com/startstream=groovesalad.pls Thanks Thierry ...

How do I access the iPhone camera API without the camera interface?

How can I take a picture in my iPhone app without going through the camera interface? I've read things about CameraController. Is that what I should look into, or is there an easier way to just snap a picture with code? ...

Animate grass with CoreAnimation (on the iPhone)

Hello, how could I animate blades of grass, which are waving in the wind? I haven't found any suitable CoreAnimation combinations. Regards, Stefan ...

resignFirstResponder when tapping UITableView?

I have a UITableView with two custom cells and each of them has a subview with a UITextField inside it. I have tried adding a UIButton on top of the UITableView and have it resignFirstResponder but that just means you won't be able to tap anywhere else - not even on the UITextFields to enter text. How do I make it so if I tap outside th...

Call a function in a UIViewController's UIView

I've created a view controller and the associated view using the interface builder. I'm trying to call a function that I added to the UIView from the UIViewController. I'm not sure how to call that function though. I've tried [self.view myFunction] but that just makes my program crash. ...