iphone

Localized price from App Store

I'm putting links to other apps by the same company into an iPhone app, and we want to display the price of those apps. Is it possible to somehow get the localized price string (amount and currency) that's appropriate for the user? I imagine I'd have to resort to something like screen scraping, but I've seen that people can get quite a l...

How To Serve High Quality Youtube Videos On iPhone Over 3G Connection?

As you might already know, when you embed a YouTube video in iPhone app, YouTube will serve good quality video if you are on wifi connection and very poor quality if you are on 3g. How to force YouTube serve good quality at all times? ...

iPhone Simulator vs iPhone OS testing: file is not of required architecture

hi there, i'm working on an iphone app ( sdk 3.1.3 ) and I have added the corelocation and mapkit framework. I used the iphonesimulator package, but added them using 'relative to current sdk'. When I test my app in the iphone simulatore everything works. But when I switch to iphone device 3.1.3 i'm getting 2 warnings and 4 build errors:...

Explain the use of below function with meaning in iphone

Hey I m confused to use following methods and i want the clear meaning of all so that i can use that perfectly in my project -(void)viewWillAppear -(void)viewWillDisappear -(void)viewDidLoad -(void)viewDidUnload -(void)viewDidAppear -(void)viewDidDisappear Please can any body who knows these very well then please help me. Thanks in...

CS193P - Assignment 3 - drawRect get called only on the first setNeedsDisplay.

Hi! I'm taking CS193P iPhone Development courses, and even if.. I know that I'm pretty late comparing to Stanford's students, I'm doing Assignment 3. My current problem is: My drawRect method does not get called on every setNeedsDisplay... but only on the first. Also, what I noted is that my polygon object is NULL (from PolygonV...

How to add a badge to the system generated "More" UITabBarItem

My app has 6 menu items, so the OS shows the first 4, then shows a "More" item that links to a screen where the user can select the other two. My problem is that I want to show a badge on the More item so that the user knows that one of the menu items that is hidden needs their attention. (It's clear to our users which hidden item the b...

securing iphone + web app

I have an iphone app that retrieves and send data to a server that uses python. What measures could i take in order to prevent security risks? I an not handling extremely sensitive data but i wouldn't want people sniffing the contents. Is using SSL enough to prevent most risks? Thanks ...

how to release presentModalViewController from stack Memory in iphone ?

hi I am currently working on a project in which I am calling other view through below way through out the project :--- frmImage *frmImageOne = [[frmImage alloc]initWithNibName:@"frmImage" bundle:nil]; [self presentModalViewController:frmImageOne animated:YES]; [frmImageOne release]; Exactly what I want is that when I load my ap...

How to enhance the performance of UIWebView?

Hi all~ I made Documents viewer using UIWebView. Load time is short, because file is in the local. But scrolling speed make me so crazy. that scroll performance is very poor !! I made it using so simple code. NSURLRequest* request = [NSURLRequest requestWithURL:fileURL cachePolocy:NSURLRequestReloadIgnoringLocalCacheData timeoutInte...

Popping UIView programmatically failing.

I am having trouble programmatically removing stacks from a view. I am doing things a bit convoluted, which is certainly not helping matters. Here is what I want to do: User is in one tab of a tab view controller. User selects item from table that contains URL. App switches to another tab view, and sets an existing UIWebView to the sel...

iPhone, How to show alter dialog on Lock Screen?

I see some apps like 'Lock Calendar' that include this feature, and I know that we can maybe use keyWindows to trace the view and replace the wallpaper etc., but I feel that if the app makes use of this it will probably be refused by Apple ... or maybe the sdk has provide other API for this purpose? any tip will be appreciate ... Tha...

Really, really big UIScrollViews

Hi Everyone, I'm trying to make a level-of-detail line chart, where the user can zoom in/out horizontally by using two fingers, and grow the contentSize attribute of the the UIScrollView field. They can also scroll horizontally to shift left or right and see more of the chart (check any stock on Google Finance charts to get an idea of ...

Re-Apply currency formatting to a UITextField on a change event

Howdy all, I'm working with a UITextField that holds a localized currency value. I've seen lots of posts on how to work with this, but my question is: how do I re-apply currency formatting to the UITextField after every key press? I know that I can set up and use a currency formatter with: NSNumberFormatter *currencyFormatter = [[NSN...

Is it possible to test an iPhone web application over an ad hoc wireless network?

I'm working on a web application that will have a custom UI for the iPhone platform. At the moment I have my Apple laptop but I'm away from a wired or wi-fi Internet connection. I want to run the app on the laptop and then preview it on the iPhone. Is this possible? I created an ad hoc wireless (AirPort) connection on the Mac and could ...

Sending a huge amount of real time processed data via UDP to iPhone from a server

I'm implementing a remote application. The server will process & render data in real time as animation. (a series of images, to be precise) Each time, an image is rendered, it will be transferred to the receiving iPhone client via UDP. I have studied some UDP and I am aware of the following: UDP has max size of about 65k. However, it...

What could cause my MinimumOSVersion to be different than my Deployment Target?

I'm building my iPhone app under SDK 3.1.3. My Base SDK and iPhone OS Deployment Target are both set to OS 3.0, but when I build, the info.plist in my bundle shows a MinimumOSVersion of 3.1.3. What could cause this? ...

Adding a UIPageControll to an UITableView Cell

hey folks i want to add a UIPageControl to a single tableView Cell. It should be possible to swipe the cell and indicate the position with a paged Controll. The amound of Views within the paged controll is different in every cell. Is should also be possible if i scroll the table view that the actual view stays selected. here is a scr...

Designing Ichat balloon interface

I am trying for chat balloon kind of interface on iphone, I am able to draw a rounded rect thing and also am able to draw the gradients. But not getting how to achieve gradient drawing in rounded rect.I'll be thankful for any help.. ...

build a tcp server to test asihttp

Hi, I am working on iphone networking application.. I am using asihttp , a wrapper of the CFnetwork framework. http://allseeing-i.com/ASIHTTPRequest/ I want to build a server that sends some data on request from the client... I want this for the sole purpose of testing the application i write and understanding the networking more deep...

iPhone SDK: Setting the size of UISearchDisplayController's table view

My app's table view does not occupy the full screen height, as I've allowed 50px at the bottom for a banner. When I begin typing in the search bar, the search results table view is larger; it fills all available screen space between the search bar and the tab bar. This means that the very last search result is obscured by the banner. ...