iphone

iphone - digital image processing

I want to build an app similar to Fat Booth, Aging Boot etc. I am totally noob to digital image processing. where should I start? Some hints? ...

How to manage memory

I want to fetch some contacts from addressbook,linkedIn,facebook and Twitter,so how to manage these data?Now,I store them with coreData framework and use NSMutableArray only, not a server.Someone tell me to use sqlite and store the data in a server,then push my application software.Any help?Many Thanks! ...

How to know the displayed text in UILabel ?

Hi, I have an UIView containing two UILabels, in order to display a string. The first UILabel has a fixed size, and if the string is too long and can't hold in this UILabel, I want to display the maximum characters I can in the first UILabel, and display the rest of the string in the second UILabel. But to make this, I must know the ex...

i want to show months in label by comparing two dates in iphone?

i want to show months in label by comparing two dates in iphone sdk. ...

Cannot send email in iPhone simulator

Hi. I am new to iPhone development. I am using the following code to send an email from my app in the iPhone simulator. It returns successfully but the mail is not sent. MFMailComposeViewController* controller = [[MFMailComposeViewController alloc] init]; controller.mailComposeDelegate = self; [controller setSubject:@"My Subject...

how to rotate UI segmented control

hey all i want to know rotate the UI Segmented control to be in a vertical look cheer BOB ...

In App Purchase - can get product info but can't connect to itunes for purchase

Hello I'm trying to make "In App Purchase " works in my iphone app. I created some products and a few test accounts in itunes connect. I have no problem to retreive the products data (prices etc..) but when I try to make a payment - I am asked to log in - I use a test account -> the transaction always fail with the following error :...

Objective-C changing random values for variables

This really is my last resort as I am absolutely stumped and I just know it is something stupid! I have a UITableView and a UISearchBar, the user uses the search bar to enter a location, which is then appended to a url with page=1. This is then sent to an api and a list of adverts are returned (this has been successful). The user can th...

how to handle inApp subscription type when it purchesed but not download yet.

my InApp type is subscription. once i tap on OK it always call - (void)failedTransaction:(SKPaymentTransaction *)transaction how to handle it call on completeTransaction ? ...

iphone SDK: View generate without IB spacing problem

Hi, I generate a ViewController / View in my window based application. It will show directly at startup, it works, no problem. But on the buttom, the View has Space left, its exactly the space the status bar needs on the top, so I think I must put my View under the status bar, not behind it. How to do? Code: StartViewController *a =...

MPMoviePlayerLoadStateDidChangeNotification isn't called

Hi, I'm converting my iOS3 app to iOS4 and having problems with the movie player! I have followed the example here: http://is.gd/eowgi (I don't need it to work in iOS3 anymore!) and subclassed UIViewController with the following code: #import "moviePlayer.h" @implementation moviePlayer @synthesize mainAppDelegate; @synthesize mp; - ...

how to open url without exit from application

hi i am new to iphone. what i need is when ever i click the button open the google.com but it exit from application how can i launch url with in my application. pls help me post some code. thank u. ...

When Open From Background

Hey All I see the delegate has the 'didFinishLaunchingWithOptions' for when the first app first loads. I know each page has the DidLoad and WillAppear. Is there a method/function/class or whatever these things are called for when the app is opened while it is in the background. Either the user clicks it from the bottom row of icons (af...

iphone addSubView to delegate from another view controller

I'm trying to add a UIToolBar to my UITabBarController. Currently if I add it to the self.view in my UITableViewController and if you scroll down it will move the UIToolbar with it and disappear. So I need to add the UIToolBar to the UITabBarController from my UITableViewController, which is from a different controller. The UITabBarContr...

Resizing UILabel to fit with Word Wrap

This is part of an iPhone application but should apply to Cocoa written in objC in general. I have a UILabel holding various amounts of text (from single characters to several sentences). The text should always be displayed in the largest possible font that fits all the text within the UILabel. The maximum number of lines is set to 4 an...

UITabBarItem - How to detect a tap/click ?

Hello, In my RootViewController I have a UITabBar with three UITabBarItems. I want to load a separate View Controller when each UITabBarItem is clicked. But I'm not sure how to detect that tap on the bar item. Previously I just had UIButtons and when clicked executed the code below: [self presentModalViewController:infoViewController ...

UITableView delegate action when tableView is scrolled?

Hey! Is there a UITableView delegate-action that runs when the tableView is being scrolled? This is probably really easy, but I can't find it. Thank you :) ...

UIPasteboard size

I am trying to do an upgrade path for a lite to full version of an application, that can store an indefinite amount of data (I dont want to do in app purchase). I would like to be able to upgrade using a custom url without needing an online presence to cache the data to. So was thinking of using a UIPasteboard object. Does anyone k...

Implementing Skype on the iPhone

I would like to build an app for the iPhone which uses Skype service with more features. Now I know that Fring made Skype calls available on the iPhone, so it must be feasible. The question is, how to build it in a way that it'll work as same as Skype app or Fring. In this blog post, that guy offers using "SoonR Talk", but The caveat...

Build fat static library (device + simulator) using Xcode and SDK 4+

It appears that we can - theoretically - build a single static library that includes both simulator and iPhone and iPad. However, Apple has no documentation on this that I can find, and Xcode's default templates are NOT configured to do this. I'm looking for a simple, portable, re-usable technique that can be done inside Xcode. Some h...