iphone

Question about UIWebView for use in my help screen

So I made a UIWebView and I had it read a local help.html file. This is for my app's help screen. Now my question is two-fold: if I say have a link in there to go to either my website or something then people click that link and it's within the uiwebview! How would I go about launching safari instead? target='_blank' doesn't seem to ...

Absolute GMT date on iPhone

I'm trying to get a date that represents noon GMT for a recurring local notification. I need this local notification to fire at the exact moment to anyone using the app. So far, I'm trying this: NSCalendar *calendar = [NSCalendar currentCalendar]; NSDateComponents *dateComps = [[NSDateComponents alloc] init]; [dateComps setHour:12]; [...

Hidden CATransition animations on iOS 4 (camera iris animation)

I'm trying to achieve the camera iris animation from the Apple camera app. It is also found in numerous other apps like RedLaser, Sudoku Grab, so it seems to be fine with Apples rules even thou it's private. The hidden CATransition animations are dokumented here for example: http://iphonedevwiki.net/index.php/UIViewAnimationState Howev...

How do I install my AppCelerator App to my IPhone

I am attempting to load a small application I wrote with AppCelerator on my device. I am having quite a bit of trouble with this because of iOS target mismatches I suspect. AppCelerator provides me two options for the target OS, 3.2 and 4.1. My Phone has firmware 4.1 on it so I selected 4.1: Here is a picture if you want to have a look...

UIActivity Indicator- load views

Hi, I am trying to add some titles to my project. So, when my app gets loaded it should show my title screen with activity indicator spinning and after 3seconds it should push the navigation controller. Basically I will have an image on the first view controller. So, in IB I added an image view and set the image. Please help me guys how...

iOS using External Object in Nib

I am writing an application that needs to interfaces with different backend systems. I decided to use a Protocol in order to abstract my backend Classes. I created a nib called LoginViewController that contains an "External Object" reference of type "NSObject", and wired it to the systemDelegate outlet in my LoginViewController. @interf...

running several background threads in succession on iphone / ipad

I have to download a ton of images and I am doing it on a background thread, problem is all of the downloaded data is not released until I go back to the main thread which is fine a for couple hundred images but when I get into thousands the app runs out of memory and crashes. So I need to run several background threads in succession so...

Is Universal application can deploy on iOS 3.0?

Is it possible? ...

Adding a TableViewController to an existing table view

Hello, I've got a Table view and it's the child of the View ( see the IB hierarchy ) : I want to start customizing the tableCells, so I assume I'll have to add a tableViewController . Where would I start in this instance ? the TableViewcontroller can't be a child of the MainViewController, can it ? Cheers, ...

Return .plist from .NET WCF4 Web Service

Hi, I recently listened to the WWDC 2010 discussion Session 117 - Building a Server-driven User Experience. The presenter discussed the performance difference between processing XML vs. JSON vs. plist. plist was much faster and about the same size as XML (worse than JSON, but much faster processing). I am wondering if anyone knows of...

iPhone - Memory management question ???

Let's say i have a navigation controller in my app delegate. Why is it necessary to release it on dealloc method in my appDelegate? When the dealloc method of my appDelegate is called, it means user is exiting the app, so the leak doesn't affect my application. So why would i release anything in dealloc method of my appDelegate? ...

Can't install app on Device 3.1.2

Hi, I can install my app with the profile in my IOS4.0 device, but the same profile can't used to install on IOS 3.1.2 device. My Xcode is SDK 3.2.3+IOS4(SDK 4). BTW, i set my "Base SDK" = iPhone Device 4.0, "IPhone OS Deployment Target" is "iPhone OS 3.1.2". The error info is "A valid provisioning profile for this executable was not fo...

Sockets (or Other Communication) Over USB with iOS Device

I am having trouble with my Google Ki today and I can't seem to find anything about this. How can I use TCP sockets -- or any other relevant way to send bytes -- to talk between an iOS device and a host via USB instead of Wifi? ...

Set desktop picture

Is it possible to set background(desktop)picture from code? if yes how? ...

iphone team development

Hello I develop iPhone applications and some of managers want to have development snapshot version on their devices. Does anybody knows how make it in right way? thank you ...

Can my iPad app access a list of the eBooks on the device?

I have a little experience with iPhone development but am new to iPad. I realize that apps are sandboxed and cannot access each other's data, but is there any way that the iPad app can access information about the eBooks on the iPad--for instance, the titles and authors of these books? ...

iPhone Google Analytics - identifying unique users

Hi there, I'm in the process of adding Google Analytics to my iPhone app, but I'm not at all experienced with Analytics. One thing I would like it to tell me is how many unique people are using the app. Suppose one user were to use her iPhone app on ten different wireless networks, would Google Analytics iOS SDK interpret this as ten d...

$(document).click() not working correctly on iPhone. jquery.

This function works perfectly on IE, Firefox and Chrome but when on the iPhone, it will only work when clicking on a <img>. Clicking on the page (anywhere but on a img) wont fire the event. $(document).ready(function () { $(document).click(function (e) { fire(e); }); }); function fire(e) { alert('hi'); } The HTML part is ext...

Instruments cannot be opened because of a problem in xcode

Hai While i clicking the "Run with Performance tool" it showing the below error "Instruments cannot be opened because of a problem" Please suggest me. Thanks Basanth ...

Can postNotificationName be used to call a previous view?

I'm trying to have a "Cancel" button send the user to the previous view in my iPhone app. Can postNotificationName be used to do this? How can I define the previous view? Thanks in advance! ...