iphone

AVassetExportSession kills my audio.

Hi all. when I start –exportAsynchronouslyWithCompletionHandler: method of AVassetExportSession my audio is stops playing. I am using AudioQueue and OpenAL they both needs to be restarted after beginning export session. Is there any trick to make them work without restarting audios? Well. Nobody has answered to me, so I will answer myse...

how to reload the UIImage in myView in iphone

i have created an app which is used to select an image in an DetailViewclass and the selected picture willbe added to anotherViewClass. i got the picture in another view which was selected in the DetailViewclass. but i want UIImage to be empty when the page is reloaded. ...

UIImage Faux-High-Res Effect using Interpolation Algorithms

Hello, I'm programming a few picture viewers for the iPad and the problem that I always have is that unless you use a really big resolution image source, when the user zooms, the image will get pixelated. I was thinking that maybe some kind of upscaling filter could be applied to the image when zoomed. Like the ones here http://en.wiki...

select file in iphone

I want user to select file from iphone and upload to a http server. example:: GoodReader application has feature in it. Please help me how this can be done. Thanks in advance .. ...

iPhoneOS, using applicationWillResignActive

Hi Everybody, I want to use this function applicationWillResignActive perform some tasks. before the application shuts down due to incoming call, message or user close it manually. Can i send an email message/in app sms using this function ? Will those tasks would be performed or the application would immediately quit due to the above ...

NSBundle returns nil

Hi, I wanted to read version information of my application from the plit file. For this I am using a code as shown below. NSString *myFilePath = [[NSBundle mainBundle] pathForResource:@"MyApp-Info" ofType:@"plist"]; // Format output NSLog(@"%@",myFilePa...

how to use video capture facility in iphone programmatically?

How can video capture facility of iphone be used programmatically? I need to use it for iphone 3GS. Thanx... ...

PDF rendering issues on iPad

Hi there, I have two questions related to handling PDF rendering on iPad/iPhone. First I'm getting some strange issues when rendering PDF page with CGPDF functions on iPad. Strange, because everything works quite fine on iPhone, but on iPad I'm getting lots of error messages related to PDF, i.e. like below invalid stream length 9785;...

Extracting thumbnail image from CGPDFPageRef

I am attempting to create thumbnail images for a CGPDFDocument. In the PDF Document Parsing section of the Quartz Programming Guide, there is the following code: CGPDFDictionaryRef d; CGPDFStreamRef stream; // represents a sequence of bytes d = CGPDFPageGetDictionary(page); // check for thumbnail data if (CGPDFDictionaryGetStream (...

Constraining a back wheel to the front wheel

Hopefully I can describe my situation clearly as whenever I try to describe it to others on the whiteboard or pen and paper it takes a few attempts :) Part of my program involves a cart that rides along a rail and the cart runs on two wheels. The rails is a simple line which hills up and down in curves and also flattens out. To create t...

universal (real + simulator) compilation for iPhone

I'm building a lib for iPhone SDK use using the SDK, and I use Makefiles, not xcode. Consider this command line (or at least the beginning of a compile command line). /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/g++-4.2 -arch armv6 -pipe -no-cpp-precomp -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneO...

How to just take a photo with iPhone

Is there a way to just take a photo with an iPhone? (No delegates or controllers). Actually what I want is: 1 One view that shows what the camera is seeing, 2) One button that takes a photo. (Like calling a function and getting the photo back) added:The "view" above would be an area in a normal screen, also the button Would thi...

iPhone Distribution: No profiles currently match.

I am about to upload an app to iTunes Connect. I am not Team Agent, nor does it seem the Team Agent can make me a Team Agent. So he logged onto Member Center and downloaded a Distribution Certificate, which is in my Keychain along with the WWDR Certificate. The bundle identifier is set to se."companyname"."appname". When I set the Code...

How to control master volume with MPVolumeView

im using MPVolumeView for controlling master volume. When i change the volumeview slider it will not affect to the ringer volume. But the strange thing is while open any another application, ringer volume changes will affect there. what is the reason for that? Why the changes is not affecting immedietly? Any insight is appreciated! ...

iPhone: UIScrollView not scrolling when adding item via IB

I'm trying to make a very simple scrolling page via IB. What I've got is a UIImageView at the top and 2 UIImageViews at the bottom, with a UITextView in the middle. I've disabled the scrolling in the UITextView as I won't the whole page to scroll up and down including the UIImageViews. Can anyone tell me why the UIScrollView won't scrol...

iPad app works on most devices, gets EXC_CRASH (SIGABRT) on some

Hi, I created this awesome iPad game - clean and fun to play, and people that manage to play it more than once love it. In some cases, however, it will not launch for the second time. I can't debug it since it works perfect on my iPad, simulator and on all my friend's iPads. One customer told me that it works on 32GB but not on 64GB iPa...

Oauth Consumer - LinkedIN UPDATE STATUS

Hi there, I try to develop a app that use OauthConsumer for connection with LinkedIN. All work fine, I can extract the user data but when I want to update User status I've status error 401 with message [unauthorized]. I've the access token, this is the code: NSURL *url = [NSURL URLWithString:@"https://api.linkedin.com/v1/people/~/curren...

The current way to release memory from a UIScrollview with many images

Dear Scholars. I am generating a simple scrollView with some images attached to buttons. This works fine apart from the fact that this scroll view is taking rather much memory. Since this scrollView is just a sub Menu allowing the user to pick an image and soon after I do not need it, I would like to free this heavy block from memory. ...

Access property list...

Hi, i´ve created a plist with three rows like this: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt; <plist version="1.0"> <dict> <key>intro_buttons</key> <dict> <key>button1</key> <string>1.1</string> <key>bu...

How to get IMEI number from iPhone programmatically?

I can get the UDID number but I want to get IMEI number...Is the apple dont allow to trace? If so where i can find the document of apple? ...