iphone

Failed build b/c symbols not found zlib (solved)

I have a problem adding libs for zip extraction to my iPhone app. I decided to use SSZipArchive. It uses minizip. After following the instructions: 1 Add SSZipArchive.h, SSZipArchive.m, and minizip 2 Add the libz library to your target I still get errors: Symbol(s) not found. I tried adding -lz to Other Linker Flags an...

iPhone/iPad - Facebook api for universal app

I know that facebook api works on iphone. I want to port my iphone app which has facebook api to Universal app so that it works on iPad as well. How can I achieve it? Is there any facebook api for universal apps or do I've to use two api's one for iphone and one for ipad. If I've to use them separately, how can I compile and build my app...

How do I adjust a UIButton relative to its current position?

I'm trying to work with a scroll view controller that needs to adjust it's contents based on user interaction -- specifically, by adding a 'done' button while the user is working with a UITextView, then removing it when they are done. The problem is making room for the button in question. What I'd like to do is... control.layer.positi...

iPad (very) simple drawing

I'm trying to implement a very simple drawing view in my app. This is only a small part of my app but it's turning into a real hassle. This is what I have so far, but all it's displaying right now is morse code like dots and lines. - (void)viewDidLoad { [super viewDidLoad]; self.view.backgroundColor = [UIColor whiteColor...

UIWebView in iphone4.0

I use UIWebView in iphone4.0 show a html page,but can show one page and cannot scroll. after rotate iphone It can show all page and scroll normally ,this problem is not exist in 3.1 ...

Stream video on Android

I have a video stream that I used in an iPhone application. I'm now working to port the application to Android so I want to use the same stream. As Apple requiered, I created a HTTP Live Streaming (media segmenter, m3u8 file, etc.). You can find the stream here: http://envue.insa-lyon.fr/smartphone/aloun_stream/prog_index.m3u8 . I wan...

Send touches on iOS device to another UIScreen (external display)

Is there a simple way to send touches on an iOS device (e.g. iPad) to another UIScreen which is rendered on an external display? For example, the iPad shows a blank screen and the app is shown on the external screen. If I touch down on the iPad approximately where the button (displayed on the other UIScreen) would be, it sends the coord...

Core data, how to get NSManagedObject's ObjectId when NSFetchRequest returns NSDictionaryResultType?

I have an NSFetchRequest which is returning the objects' properties in an NSDictionaryResultType. Is it possible to also get the objects' ObjectId within this dictionary? Otherwise I will need to run the query with a return type of NSManagedObjectResultType which is much slower for a large number of returned items. ...

audio library on simulator

Hello everyone One of my projects needs to load audio from audio library. It works on my iPod touch. But I prefer to debug on simulator. The audio library on simulator is empty, so I need to add some audios to the audio library on simulator. What is the path of audio library on simulator? Welcome any comment. Thanks interdev ...

Scroll to top broken with Ads on iPhone

The scroll-to-top feature (touching the status bar to scroll to the top of a UITableView) seems to be broken when Ads load in my app. I did add the following in the viewDidLoad of my UITableViewControllers to try to solve the problem but it doesn't help: [self.tableView setScrollsToTop:YES]; [[self.tableView window] makeKeyAndVisible]...

change Badge and push notification in iPhone SDK

I tried the push notification tutorial . It's working fine but problem is badge. When I click on the view, app is appear and the close it. it still red badge in app icon. How to remove it ? Another question is when I click the view, it will appear home screen. I want to show other view when coming from push notification. ...

Adding new button into virtual keybroad of iphone ( keybroad appear when you touch on a UITextField)?

How to add new button into virtual keybroad of iphone ( keybroad appear when you touch UITextField)? ...

Are there any good open source iOS application templates out there?

I was wondering if anyone knows of any good open source app templates out there. I've been noticing that I commonly use a few open source projects in every app that I write, like appirater, flurry, in app settings kit, etc. Does anyone know of any app templates out there that use any of these already? Thanks! ...

iphoneSDK and NSXMLParser problem

So have an XML file it parses perfectly fine up until I get a to an element that has weird tag inside of it. The xml file looks a little like this. <xml> <badtag><![CDATA[ This is the text that i want ]]> </badtag> </xml> For some reason when it comes in contact with "that*" tag the app goes hay wire. The next view loads however i...

How do I use this inBetweenDate message?

I am a newbie with iphone programming. I need some help with this code. I found what I needed here- http://stackoverflow.com/questions/1072848/how-to-check-if-an-nsdate-occurs-between-two-other-nsdates/ But I have no idea how to use this block of code. + (BOOL)date:(NSDate*)date isBetweenDate:(NSDate*)beginDate andDate:(NSDate*)endD...

Access Yuutube Url MPMoviePlayerController without video file name

i m access Youtube url -: http://www.youtube.com/v/9Na-LXU5m3g?f=videos&amp;app=youtube_gdata but MpMoviePlayerController dont show the video . movieURL=[NSURL URLWithString:@"http://www.youtube.com/v/9Na-LXU5m3g?f=videos&amp;amp;app=youtube_gdata"]; mpMoviePlayerController=[[MPMoviePlayerController alloc] initWithContentURL:movieURL]...

UIViewController Functions Calling Hierarchy

I have been asked this question in many interviews for iPhone Developer position. I have googled it but couldnt find a satisfactory answer. The Question is " what is the order of calling for the UIViewController functions " Some of functions that i know are loadview viewDidLoad viewWillAppear viewDidUnload ...

UIPageControl , white dot does not get highlighted

Hey guys , I am using the UIPagecontrol with a scrollview. It works well , but there is this one scenario the white does not get highlighted. It happens after we go to a another view from the scrollview and then comes back and reload data. The white does not appear but the number of pages appear correctly. But it gets highlighted ,if I s...

What's the best UI Controls to use for a ChatRoom application?

Hi, I would like to create a simple chat room like GUI interface that will create an entry for each line spoken in the following format: Person1: Hello world! Person2: Hello there. Person3: What's up? Person1: not much Where Person 2&3 will be a blue color. Person1 will be a read color. If the user wanted, they can click on Person2 ...

Make a call from iPhone application without quitting.

Hi, Is it possible to make a call from application with out quitting application in iOS 4? ...