iphone

NSArray sortedArrayUsingSelector

hello all , I have NSMutableArray that i need to sort . to do so i use sortedArrayUsingSelector this function return me NSArray with the objects sorted. my question is: if i want to sort the original array again do i need to release the previous sorted list that i got or just to sort it again ?? thanks ...

Storing UISwitch user input in a persistent object

I am a little confused about the typing in my app, let me explain: I have a persistent custom model class containing several boolean attributes. At least it says BOOL in the entity builder, when I model my object there. When I let XCode autocreate the class for me, I can see in the header file that XCode has made NSNumber objects of my ...

is it possible to navigate with MKMapKit between the own point and an MKAnnotation ?

if i wanted to implement something like a carfinder, is it posible that on the mkmapview i can get routing-information ? maybe the line, we know from google-maps or any information in an csv (or sth like that) that tells some waypoint-information ? ...

Defining regions in an image

Hello, Being a complete noob in iPhone development, I was wondering what would be the best way to define regions in an Image (for interaction ). So far I've got 2 ideas : use CGpath to basically draw the areas that I`m interested in but I quickly can see it becoming tedious on complex graphics . use a Color coded layer with regions co...

how to hide the selection of the button in iphone.

when i press the button i get the blue color , is there any way to just avoid getting that blue color when i press the button. ...

How to add audio to video file on iphone SDK

Hi. I have a video file and an audio file. Is it possible to merge it to one video with with sound file. I think AVMutableComposition should help me, but I still dont understand how. any advices? ...

UITableViewCell Resign FirstResponder

Hi, I have a UIViewController class that contains a UITableViewCell subclass. Within the tableViewCell I have a UITextView that calls the numberPad which I have ammended to contain the missing DONE button. THe DONE button, when pressed calls a method named backgroundPressed. This method is called from the root UIViewController class...

Navigation Controller and Table Views

I am creating an application which I want to have a view controller with buttons as the first view controller with no navigation bar, and then when the user selects a button a table view controller appears managed by a navigation controller. At the moment I am setting up the navigation controller in the app delegate and setting the top ...

UIImage perspective correction

I'm looking for a way to apply a "perspective correction" to an image in an iPhone app. This question explains how to apply a perspective distortion, what I want is exactly the inverse operation... Any idea how to do this? ...

How to create fixed/absolute position Tooltips on iPhones and iPads?

For some time now I've been happily using the qTip jQuery plugin. No complaints there. However, on iPads and iPhones, the tooltips appears to be buggy. Symptoms: Before resizing the touch screen everything seems to be working fine. After resizing etc. -- Inconsistent behavior. Some tooltips are misplaced; no real logic there. Diagno...

How to integrate Youtube API into my Iphone app ???

I want to integrate the youtube API into my app, how can i do it??? p.s. I'm making an app for a youtube channel. I tried opening youtube in a webview, but this made everything even worse because the user could see the youtube controls (search etc.) and that strange message about the "youtube iphone app". ...

How to avoid userinput while playing a soundloop complete

Hello, I have some UIImageViews (Animals) and by touching them a specific soundloop starts to play. But if the user touches twice or more on the same View, the apropriate soundloop starts over and over again with an overlap. I wanna have that the touched sound is played once until its end and than the user can start the next time. The du...

Add Customize Image launching the app in iPhone?

Hi, When i touch my app in iPHone Simulator first black page will come for few millin seconds then out page will come. how should i add images instead of that black page. Please help me out? Regards Sri ...

button on subview does not work..

hi , I am developing one demo app. In first view 'Login' button is linked to 'signInAction()' which is as follows. My superview controller is 'LoginController' and subview controller is 'TweetyViewController'.. - (IBAction) signInAction:(id)sender { TweetyViewController *tweetyController = [[TweetyViewController alloc] initWithN...

Is there a code editor for C# on the iPad?

Does anyone know of any decent syntax hightlighters / code editors for C# on the iPad? Compiling the code would be a bonus but not necessary! Edit: I only want to write code on it, not at all interested in actually running the code on the iPad ...

iphone smtp client library

Hello, any one knows an objective-c smtp library for use in iphone app. I use skpsmtpmessage http://code.google.com/p/skpsmtpmessage/ but it sends message body as attachment when send mail to gmail. thanks. ...

Selected state of UIButton in UITableView

Hello, I have UIButton in each cell of UITableView. When I touch it, its state is set to selected. But when I scroll table view so the button isn't visible, the state is set to normal. How can I do it that UIButton remain selected? Thank you. Edit: Here is the cellForRowAtIndexPath code: - (UITableViewCell *)tableView:(UITableView *)...

Does CGContextSetTextMatrix work for offscreen bitmaps?

I'm creating an image offscreen using a context from CGBitmapContextCreate(). While drawing text, I tried to use the: CGContextSetTextMatrix(contextRef, CGAffineTransformMake(1.0, 0.0, 0.0, -1.0, 0.0, 0.0)); but my text was still upside down. If I used the standard transforms it was correct: CGContextTranslateCTM(contextRef, 0.0, co...

How to get (extract) icon for iOS system app, like address book app?

I want to sync my iPad app with AddressBook system app, so i want to use that icon in UI, which will enable sync process. ...

UIImage with Large image size - Memory Problem - Crash

I wanted to load and display image(.jpg,.png) having large size e.g. 1800x1200 or 2000x1800 (width x height). If I display such large size images (1800x1200 or 2000x1800) in UIImageView, it also consume lot of memory and application is getting crashed. Also as per Apple's documentation (http://developer.apple.com/iphone/library/documenta...