I have implemented pdf reader application for iphone.I want to draw image from the pdf page.I have implemented its working fine in simulator but it crashes in device.
I have used below code for pdf to image.
-(UIImage )pageAtIndex:(NSInteger)pageNumber withWidth:(CGFloat) width
andHeight:(CGFloat)height PdfName:(NSString)...
I'm not quite sure if I understand atomic correctly. From what I read, it says that atomic is the default for the iPhone. Now is that for properties only, or any instance variable. For example, if I have an instance variable that I am going to write my own setters/getters, and do not declare it as a property, does that make that instan...
Anyone know if this is allowed by the iPhone's various Api's or even if Apple allows this?
Example: Plug something in the audio jack and use it as a "taser" (this is just a hypothetical/proof-of-concept example).
...
I open an UIImagePickerController where the user can see "through" his iPhone and position a (product) image on top of the camera view with different gestures. The position, size and rotation of the product image can change.
The user can then create a snapshot of the background image from the camera with the product image on top of it. ...
Hi,
When i run the instrument i got memory link in below line
NSData *responseData = [NSURLConnection sendSynchronousRequest:theRequest
returningResponse:&urlResponse error:&error];
Can some one explain me how to fix this issue,
Thanks
Sam.
- (NSString *)sendHttpsReq:(NSString *) urlString {
// create the request
NSString *...
Hi,
My iPhone Developer Program is expired and now i am no logner to access iTunes Portal. And also, one my application on AppSore has started giving the error that "this application is no longer available, ...".
I just want to ask that is expiration of the developer account put any affect on existing apps on AppStore or not ?
...
hi i am using this code for getting previous view
NSTimer *theTimer = [NSTimer scheduledTimerWithTimeInterval:3.0
target:self
selector:@selector(pictureTimerFired:)
userInfo:nil
...
Hi everyone,
I know about OCR technology. I have seen in websites saying that iPhone Camera supports OCR technology. May i know how do i handle it in my code? Is there any classes provided by SDK to support it?
Thank you.
...
I have setup addressbook contact's images using a code,
it works well and the image is there when I browse the Addressbook,
But when a call comes, it only shows a thumbnail? I want to show the full image instead the thumbnail? Is it a bug?
NSData *dataRef = UIImageJPEGRepresentation(entry.recIcon,1.0);
CFDataRef cf...
Hi,
A have created a build. with a provisioning profile. Now there is a new device i have to install the build. but that is not in the provisioning.
Now i have to modify the provisioning. add device into it. download provisioning again and build again with new provisioning. now this new build will be installed into new provisioning.
...
please define me what is difference b/w segment control and switches
where they are used?
i m a new developer please help me
...
Hi @ll!
I am using the UIImpagePickerController for taking pictures from the build in camera. This is all working fine.
My questions are regarding the customization of this controller:
Is it possible to change the color of included tabbar in the controller? I want it black. The only thing I found, was to turn the whole tabbar off.
I ...
Hi, i've just started working at a biomedical company and we need to communicate data from a device we are making to an iPhone. Obviously using the made for iPhone program would suffice, but for prototyping and for a simpler solution i was wondering if we could use an existing bluetooth audio transmitter, such as (http://www.buy.com/prod...
How do I use global variables in x-code(iphone). For example, lets say i want to declare a bunch of variables(NSStrings) in the viewcontroller file, then how would i access them throughout my different classes? Can someone help me?
...
Hello,
from what i read i understand that iPhone can determine your location using Wi-Fi. If you're not in range of any Wi-Fi, iPhone can determine your location using cellular towers.
I am currently develop app that use the GPS so my question is when there is no GPS signal (like in buildings)does the location services try automatic to ...
Hi all,
Is it possible to launch iPhone application automatically when it receives remote notification whether it is closed or in the background? I would appreciate your help.
Thanks in advance,
Sarah
...
hello all
I am using Tab bar + navigation based application and I have 4 tab bars when I navigate from one view-controller to other view-controller, viewWillAppear method doesn't seems to respond and I am being forced to call it manually by creating the object of next view-controller. So my question is that I dint want to call viewWill...
Hi all,
thanks for all your advice I took out of this forum over the last weeks.
Now I've a problem where I would need your help:
I want to show a series of short animations (5 animations, 10 sec each) on the iPhone. The animation would loop but the code will decide if the current loop is repeated or another loop will be started (Laug...
I am using a following code. it always go to destination string if. it does not go to to get page number loop. if pdf found destination sring then it will not go to else part. so how can i get the page number from destination string. I am giving a code as given below.Thanx in advanced.
- (OutlineItem*)recursiveUpdateOutlines: (CGPDFDict...
Hi There,
I have created a .pem file to be used for Production push notification,
and uploaded in server.
But when sending push notification, it is giving error like this.
$fp = stream_socket_client('ssl://gateway.push.apple.com:2195', $err, $errstr, 60, STREAM_CLIENT_CONNECT, $ctx); not working, return failed.
what is this error, h...