iphone

iPhone load map offline tiles

Hello, i'm trying to start a project that will present a map and drop some pins for the museums in my town. I played with map kit and route-me from Cloudmade so i'm not a stranger to them. I want to try something like OffMaps does, to use maps offline but i want to provide the tiles from the start. I downloaded the tiles from OpenStree...

iPhone certificate and provisioning...etc on new mac machine?

I had an older mac mini that I had used to register the certifications and....etc. I never really got to the stage for actually using them since i only tested on the iPhone simulator. Today I have a new mac mini, and i am trying to deploy to a device. Is there any gotchas here that im missing with this new mac mini? When i Build & Go t...

Can't get rid of the keyboard in UITextView

Hi I have a table and in one of the cells I keep a UITextView. When the user taps it the keyboard appears. I was trying various ways to get rid of it. My first approach was to detect a tap on the table cell of the UITextView, but since the text view takes most of it, it's not suitable. Then I tried to add a button to the toolbar and whe...

MPMoviePlayerController issue after playing back YouTube

I have a MPMoviePlayerController and it plays fine when I play .mov from a server. I can play multiple movies in a row and I am not encountering any issues. However, I also need to be able to play back some YouTube videos, and have embedded a UIWebView with that allows me to play YouTube videos. Playing several YouTube videos in a row i...

Apple Push Notification Service server load?

I'm preparing to set up a APNS message server, and I was wondering if anybody has done any analysis on APNS server load that they would be able to share. Minimum server specs, maximum messages per second, anything like that. Thanks! edit: I'm planning to implement this with .NET, but info about any platform would be incredibly useful....

UIButton underneath grouped table view

Basically, I want to create a button underneath a grouped table view, like contacts.app has to delete contacts. I can create the button fine, I'm just a bit puzzled as to how to decide where to put it. I thought I could just do: CGRect bounds = [[self tableView] bounds]; Then place the button based on that. However, when accessing ...

How can we Zoom a camera screen by programatically in iphone ?

hi all,, Is this possible to Zoom the camera picture programatically ,i checked the APi provided by the apple for this but there is no API in the SDk for the zooming for the camera .There is only zooming functionality in the scroll view only ,is there any way by which we can do the zoom our camera view. Even some App on the appstore h...

Core Data/iPhone SDK question?

I've recently created a project using Core Data. I checked where xcode ask you if you want to use Core data or not and I have the core data generated code in my app delegate. I've gotten it to work after many hours of doing research. Here is what I've done to get it to work: created an instance of the managedObjectContext in the app d...

Delegation, some example of code? How object delegate to other

I would like to gain a better understanding about the delegation. Can somebody please paste a good code sample of delegation and explain how it works? ...

Profile provisioning error when deploying to device in release mode.

When I build and deploy to my device in debug mode, everything works fine. But when I switch to release mode I get an error: Code Sign error: Provisioning profile '' can't be found And indeed, I have no idea where or why xcode is looking for this profile. Based on what I have read it seems I have to delete all profiles and create a...

client/server connection issue

I have implemented a client/server model where we cannot use GKPeerPicker,all UI handling must be done by ourselves,Here I will first make a client to request a connection to the server and then make server to reject the connection,now I repeat this again but at this time when I send a connection request to the server,but the client is n...

How to reference local media via browser on the iPhone?

I have a bunch of media that I need to display in a UIWebView on the iPhone. I would prefer if the client did not have to download said media on booting up the application, but could just reference it locally and download it during the install of the application. Is this possible? ...

Objective C UIViewImage animation

Hi, Right now I'm able to do a simple animation using the code below. However, the below solution needs me to predefine the image names. How can I do something like NSArray.push("image1.png"); for example? Then assign the dynamic array as the animationImages? Thank you, Tee UIImageView* animationView = [[UIImageView alloc] initWithFra...

iPhone - Multiple UIViewControllers Release

My main UIViewController, (PMGameViewController.h), is the file which my apps delegate calls. There are several buttons on my main UIViewController (PMGameViewController.m). When a button is pressed I do an insertSuvbiew and attach another UIViewController on top. When the mini game is over I simply do a removeFromSubview. This rem...

What is the fastest int to float conversion on the iPhone?

i am converting some Int16's to float and then back again. and some int32 's to float and back again im just using a straight cast, but doing this quite a few times per second. (44100 any guesses what its for? :) ) is a cast efficient, can it be done any faster? ps compile for thumb is turned off ...

How do I initate an email on the iphone from a view?

I need to be able to give users the ability to call someone or email someone from a certain view in my navigation based app. I thought I would use an action sheet with the choices and depending on the button pressed allow one or the other to be initiated (I'm simplifying a lot but ...). I really have several questions. Assuming this ...

coredata memory leak

Hi, I have a CoreDataHelper static class that consists of 2 static methods. I ran my project through Clang and didn't find any leaks, however running through Instruments shows a leak that looks like it's related to CoreData. I have basic knowledge of memory management in objective-c and I believe I'm following the rules. However, I als...

Best OpenID Provider for iPhone / Mobile Device

Is there an OpenID provider that is really exemplary for use on an iPhone or other mobile devices? Before you say this belongs on meta.stackoverflow.com, hold on, I promise this is a programming question. If designing a highly mobile site, it would be nice to offer a large button linking to them from a login page (like the Google link ...

NSManagedObject Error (iPhone)

I'm new to programming, so I apologize for the newb nature of my questions. I'm getting the following error when attempting to run my application I built using Core Data Recipes as my guide. *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '+entityForName: could not locate an NSManagedObjectMo...

MKAnnotation - Map Pin callout pops up behind other map pins.

My map pins can be quite densely populated so that when a pin is selected the callout pops up but is mostly obscured by all the other map pins - I can bring the Map Pin to the front it there were a delegate for selected map pin ( not tapped callout, selected pin ). Any suggestions for a work around ? ...