iphone

getting an AppStore Link before publishing the App

Hello, i want to send an AppLink in FB or Mail within the App like this: http://itunes.apple.com/app/myiphoenapp/id373185673 The Problem is, that i do not know the Link in Advance, 'cause i haven't send the App to Apple yet. I know that i can send the Binary later, do I get the Link then? Thanks ...

Delivering video to iPhone/iPad

I have an iPhone/iPad app that has to offer video on demand. According to the HTTP Live Streaming Overview If your app delivers video over cellular networks, and the video exceeds either 10 minutes duration or 5 MB of data in a five minute period, you are required to use HTTP Live Streaming. (Progressive download may be ...

drawing images and lines over UIScrollView

I'm programming an app in which one of the ViewControllers is showing an UIScrollView that shows an image. I'd like to load an image (pushpin in png format) and draw it (and delete it) in some points of the UIScrollView image. I'd also would like to draw bezier paths in that image (and deleting them). I've programmed several apps but...

UIView Animation won't run transition

So, I've searched quite a bit for this and can't seem to find a solution. This code works: CGContextRef context = UIGraphicsGetCurrentContext(); [UIView beginAnimations:nil context:context]; [UIView setAnimationDuration:5]; [c setCenter:CGPointMake(200, 200)]; [UIView commitAnimations]; This code doesn't: CGContextRef context = UIGr...

Handing over FaceBook SessionKey from iPhone to PHP

Hi! Users authenticate normally on my iPhone app, and the permission for publish_stream is requested correctly. When the user want to post something on his wall, the text is transmitted to my backend and the backend posts it (with the transmitted session key) to the users facebook wall. The first post is always possible but at the secon...

Entitlements.plist not created properly

Hi all! reading the doc from apple I need to create an ad-hoc distribution app, and to do so I need the entitlements.plist. when i create a new entitlement, the value "get-task-allow" is not present, so I added by hand.. is right?? at the end the Entitlements.plist is this: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC ...

How GPS works in iPhone ?

Hi Friends, I am using a iPhone 3g. I am in India(I got it in India). I just tried to check my location using the Google Maps. My location was spotted when I had sim in my phone. But when I took out the SIM from iPhone, I did not get my location. I tried the same with the Locate me Sample Application . So can someone explain how GPS ...

Posting Twitter and Facebook updates from a jQTouch / Phonegap iPhone app

I'm using jQTouch and Phonegap to write a simple iPhone app which i'm planning to release through the App Store. Part of the planned functionality will let the user update their twitter or facebook status with the output of the App (some text, possibly a link). Before I go ahead and start rolling my own solution, are there any JS libra...

Objective c TCP/IP client

Hi all, I have a TCP server running on a machine. (implemented in Java). I need to connect to that server from a iPhone and send data to the server and also, receive data on the iphone when server pushes me data. So I need to be notified when data pushes from the server. Is there a way to do this in Objective C(socket programming). Alt...

How does AVAudioPlayer load audio data?

Does it load the entire file at a time? Or does it act lazy and load a chunk at a time? I'm primarily interested in knowing how much memory my audio uses. ...

Why does this code sometimes return NaN?

This often returns NAN ("Not A Number") depending on input: #define PI 3.1415f GLfloat sineEaseIn(GLfloat ratio) { return 1.0f-cosf(ratio * (PI / 2.0f)); } I tried making PI a few digits smaller to see if that would help. No dice. Then I thought it might be a datatype mismatch, but float and glfloat seem to be equivalent: gl.h t...

Passing a pointer to a function in objective-c

Hi, i've a stupid questiona about passing pointer. I've this: @interface MyClass : NSObject myobj* foo; -(void)doSomething:(myobj*)aObj; @end @implementation MyClass -(void)doSomething:(myobj*)aObj { cFuncCall(&aObj); //alloc memory and init the object } -(id)init { //init stuff... [self doSomething:foo]; // foo retun 0x0!!! } ...

how to get table of content from the pdf?

I have implemented pdf parsing application.Its working fine.But i want to parse table of content from the pdf.But i dont know how to implement.Can you help me for this problem. Thanks in advance. ...

viewController in other view controller

Hi when i try to call view controller view in to another view controller . that time there delegate method like viewWillAppear: does not call . any Suggestion? ...

UIPickerView row image selection highlight colour

Hi, I currently have a UIPicker which I load in an image for each row using: - (UIView *)pickerView:(UIPickerView *)pickerView viewForRow:(NSInteger)row forComponent:(NSInteger)component reusingView:(UIView *)view Unlike the normal behaviour using text in the UIPicker row, when using images I get a background selection colour over th...

Twitter oauth problem with frindship/create in api

Hi, I am using Google Data API sample touch application, which is available at code.google.... I am having a problem can any one help. Please tell me if I am doing some thing wrong. The user who has loged in has to follow some person XYZ (just using XYZ for security purpose). I am using the URL urlStr = @"http://api.twitter.com/1/f...

Change iPhone internet connection mode programatically

Hello Everyone, I want to know if there is a way of changing the internet connection mode from GPRS to WiFi and vice-versa programatically. I am developing one application and want to give liberty to users which internet connection mode they want to use for my application. Also is there any other connection mode availa...

Xcode Simulator for iPhone 4 (960 x 640

Is there an iPhone4 simulator supporting the new RD 960x640 resolution included within the next release of the iPhone SDK / Xcode? much appreciated. Gary ...

What does -setPropagatesDeletesAtEndOfEvent: actually do?

Let me try it: If I don't set this, then the default value is YES. So when I delete an managed object from the context, the context propagates this immediately to the persistent store so the object is gone? And when I set this to NO, then objects are deleted from the persistent store only when calling -save? Is that really true? I mean...

Images in bar button items?‎

hi all, how can we place an image on bar button item. i was trying to put image on bar button item through IB,but its not showing the image. any solution regards shishir ...