Is there a way to access raw data of iphone camera preview? I mean not the data of the picture that was shot already, but the preview, that shows before taking a shot?
TIA
Hi,
I am trying to learn how to use different views, for this sample test app, i have a login page, upon successful logon, the user is redirected to a table view and then upon selection of an item in the table view, the user is directed to a third page showing details of the item.
the first page works just fine, but the problem occurs when i go…
I have a class with an NSDictionary attribute. Inside this class I dispatch another thread to handle NSXMLParser handling. Inside my -didStartElement, I access the dictionary in the class (to compare an element found in the XML to one in the dictionary).
At this point I get undefined results. Using NSLog (I'm not advanced in XCode debugging), I…
I used to get disponibility of heading on iphone OS 3.1.3 checking headingAvailable property.
But in OS 4.0 it has been deprecated. Now we have to use headingAvailable function.
My problem is that I get a :
warning: 'headingAvailable' is deprecated
when I call the function :
if([locationManager headingAvailable])
[locationManager…
Are there known issues with gesture recognizers and the UIView class methods for animation?
I am having problems with a sequence of animations on a UIImageView from UIGestureRecognizer callback. If the sequence of animations is started from a standard callback like TouchUpInside, the animation works fine. If it is started via the…
I got a string from parsing a XML file which looks like this: Fri, 09 Apr 2010 00:00:45 +0200
and the corresponding pattern should be this "EEE, dd MMM yyyy HH:mm:ss ZZ", but I get (null).
This is my code:
NSString *dateString = @"Fri, 09 Apr 2010 00:00:45 +0200";
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];…
first of all, i read all "changing uinavigationbar color & backgound image", but i couldnt get over my problem.
i have a tabbar app with 4 tabs. each tab has navigationcontroller. (i arranged all the objects in mainwindow.xib file in IB)
in thew first tab, i wanna display 1.jpg on navigationbars background image in first…
Hi All,
I am planning to develop an iphone app which makes use of image filters like blurring, sharpening,etc. I noticed that there are few approaches for this one,
Use openGL ES. I even found an example code on apple iphone dev site. How easy is openGL for somebody who has never used it? Can the image filters be…
In an iPhone application I'm developing I need to get GPS coordinates to perform some actions based on the values received. Users should have two possibilities of giving the location:
automatically from iPhone build-in GPS
by finding a specific point on a map (Google Maps)
I know how to user CLLocationManager…
Hello everyone,
I need to use the functionality of an accelerometer in my iphone game. I just have to move an image by tilting the device. However most videos on youtube just show the tilt feature that is somehow inverted and forget to include the calibration. I want the user to calibrate their device to whatever…
Hi,
I created a very very basic iPhone app with File/New Projet/View-Based application.
No NIB file there.
Here is my appDelegate
.h
@interface MyAppDelegate : NSObject <UIApplicationDelegate> {
UIWindow *window;
MyViewController *viewController;
}
.m
-…
Hi Guys,
I need to be able to search for all bluetooth devices nearby and just get there ids. I don't need to pair at all. I am using iphone 2.3 beta.
Is this possible l have tried using GameKit and no luck does anyone know how to do this.
BOOL result = NO;
if (!session) {
…
Hi,
Is there a way to change background color for UIWebView? None of the colors set in IB effect UIWebView behavior: before acctual content is loaded it shows as up as white (causing a white flash between the moment it is loaded and content is rendered).
Setting background color…
Exactly what the title says. Is it possible to use Facebook Connect (or any other means of FB integration) in a native iPhone app without resorting to the built in login dialog (which looks awful)? Something where I could create my own custom login screen asking for the facebook…
I basically followed apple "TheElements" sample and changed "PeriodicElements" .h & .m to my own "SortedItems" .h & .m
During compile I get this error:
"Undefined symbols:
"_OBJC_CLASS_$_SortedItems",
referenced from:
__objc_classrefs__DATA@0 in…
Hi , i found this tutorial , and it's good , but doesn't work for me !
here is the code :
- (void)listenForBlow:(NSTimer *)timer {
[recorder updateMeters];
const double ALPHA = 0.05;
double peakPowerForChannel = pow(10, (0.05 * [recorder…
Hello,
I want to dismiss a FormSheetPresentation modal view controller when the user taps outside the modal view...I have seen a bunch of apps doing this (ebay on ipad for example) but i cant figure out how since the underneath views are disabled from…
Looking at the QuartzDemo sample application, I love the speed of the PDF rending using quartz alone (that is, without using uiwebview). However, when I'm zooming in the PDF it doesn't seem to become more clear like it does in PDF view.
Is there…
Hello everyone,
I know that you can access your own application files using NSDocumentDirectory and such, but can you do that on other applications. For example, if I wanted the Documents of another application, would it be possible to get that…
I got the page flips and curls to work. I'll describe what happens...
I build and Go
The App opens in simulator
I press a button and the page curls to page 2... but when it gets to page 2 the page drops down a bit. Why does this happen?
Hi i create simple web browser for my app and i don't know why when user click a link the address bar doesn't change as link address here is my code :
-(IBAction)webAddress:(id)sender {
[site loadRequest:[NSURLRequest requestWithURL:[NSURL…
Hi all,
I am trying to add a curved border around an image downloaded and to be displayed in a UITableViewCell.
In the large view (ie one image on the screen) I have the following:
productImageView = [[UIImageView alloc]…