Hi i am using AvFoundation to take still image and adding gps info to metadata and saving to photos album using Asset library but gps ingo is not saving at all.
here is my code...
[self.stillImageTaker captureStillImageAsynchronouslyFromConnection:videoConnection
completionHandler:^(CMSampleBufferRef imageDataSampl...
Hi,
I have a requirement wherein I have to provide tap/click/touch event for each word in UITextView.
Any help would be really appriciated.
...
Usually I write my dealloc to look like this:
- (void)dealloc {
[coffeeList release];
[super dealloc];
}
But today I typed (see below) and was a little puzzled why I got an error running the code through the CLANG static analyser. As I say I don't usually add self to iVars in dealloc, but was just a little curious when I spott...
I need to detect if the scroll bar is visible in the UIWebView, how do I do this? My first attempt was:
int scrollHeight = [[webView stringByEvaluatingJavaScriptFromString:@"document.documentElement.scrollHeight"] intValue];
if(scrollHeight > [webView frame].size.height)
NSLog(@"Scrollbar is visible");
But the scrollHeight is alwa...
I'd like to be able to take a photo from the iPhone's camera, select a polygon within that photo, crop the photo to match, and then fit the resulting image to the screen.
What user interface element would you suggest for me to start doing this?
I'm a Java programmer and just getting started with the iPhone, so I'm not sure what to use....
How do I change the toolbar's background?
...
I have been asked to create a small rectangle on the top of a picker component (but inside the picker area) that will hold one word.
I'm not sure if this adheres to Apple HIG but anyway I would like how to implement it as an exercise.
...
When I want to create private methods in Objective-C, what should I use?
1) The well known categories technique.
2) @private directive.
(I'm doing iOS development).
...
I have a grouped table view; the table's background is a custom image. In one type of cell, I have just an image, and it doesn't fill up the entire cell width, and it's centered in the cell.
I've set that's cell's background to UIColor -clearColor, so that the table's background view shows through, but the cell is still drawing the lig...
I wonder if it is possible to write something like this in the .m file:
@interface MyController () {//ERROR here
Foo *privateFoo;
}
@end
I did it but I get :
Expected identifier or '{' before '{' token, I think I heard/watch a video (WWDC2010) saying this is possible or will be possible and currently only some architectures suppo...
Hi,
In my iphone app, It is a requirement that I enable the user to upload the database file (.sql) from the front end of the app or through iTunes and the app should display the data based on the file he/she uploaded.
How should I go ahead with implementation?
Please give your suggestions.
Please Help.
Thanks!!
...
In one of my apps, I have a custom drawn semitransparent UIView that I use as a cover on top of another UIView for a special effect.
Lower View:
Lower View with Custom View on Top:
It works, its great on the iPhone where the side margins are only 10 pixels, but now I need to expand the left and right margins to match the row below i...
How do you read samples via AVAssetReader? I've found examples of duplicating or mixing using AVAssetReader, but those loops are always controlled by the AVAssetWriter loop. Is it possible just to create an AVAssetReader and read through it, getting each sample?
Thanks.
...
I have some xibs with all sorts of text controls (UITextFields, UITextViews). Since the keyboard obscures some of these text controls when text input starts, I followed Apple's guideline for managing content located under the keyboard.
In short, the solution involves moving all interface elements on a UIScrollView. Doing it from Interfa...
I have set my base SDK to 3.0 but don't want my app available for iPad (3.2).
How can I accomplish this?
...
Hello folks!
I have a button which when pressed, should push the controls below it down and show textFields on the space freed. Basically, just changing the position of these controls in an animated way. Any ideas/tips on how to do that?
I tried the code in: How to Make a UITextField Move Up When Keyboard Is Present
But couldn't get i...
Hi,
In my app I have four fields and each of them is list of values.
Now if i use a UIPickerView with 4 components then the whole View becomes too congested and ugly for the user's liking.
Is there any better and cleaner way to display these list of values?
Please Help & Suggest.
Thanks!!
...
Would you please have a look at Tipulator app:
http://www.sophiestication.com/tipulator/
I'm interested in the upper graphic part of the application, how to create such an interface?
It doesn't look to use standard UIKit components, it looks like pure graphics yet the values can be updated as a UIKit component.
...
Hello All,
UIWebview load the content very slow.
WebView=[[UIWebView alloc]initWithFrame:self.view.bounds];
WebView.delegate=self;
[WebView addSubview:spinner];
[self.view addSubview:WebView];
NSString *decodeString=[@"www.google.com" stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
[WebView loadRequest:[NSURLRequest r...
I have a table cell being displayed that shows a users image, name and some text. The user's image is 50x50, but I want a border around it so I set the view to center the image and set the frame to 52x52 and then set the background color of that view to my border color. That shows a 1 pixel border around the image.
I also want to show...