It is my understanding that currently if you use UIImagePicker to grab a photo, it passes back back a UIImage object which doesn't include any of the geotagging information. I was wondering if it's confirmed that in OS 4 this is fixed? Or any suggestions on where to go look to see if this is fixed?
Thanks, Mark
...
Hi all,
I am writing an iPad app that downloads a rather large .csv file and parses the file into objects stored in Core Data. The program keeps crashing, and I've run it along with the Allocations performance tool and can see that it's eating up memory.
Nothing is alloc'ed or init'ed in the code, so why am I gobbling up memory?
Co...
Hey all!
I'm using ASyncSocket to move some UIImages from one device over to another.
Essentially, on one device I have:
NSMutableData *data = UIImageJPEGRepresentation(image, 0.1);
if(isRunning){
[sock writeData:data withTimeout:-1 tag:0];
}
So a new image will be added to the socket every so often (like a webcam).
Then, on ...
I've been trying for hours and I cannot solve this problem.
I'm making an app that saves unfinished Chess Games, so I'm trying to write an array to a file.
This is what the array is, if it makes sense:
-NSMutableArray savedGames
--GameSave a
---NSMutableArray board;
----Piece a, b, c, etc.
-----some ints
---NSString whitePlayer, black...
I am looking for a way to access user settings (I assume, NSUserDefaults?) through a button action. Let me back up and explain. What I have right now are 2 TextFields a label and a button. The user will type in measurements in the 2 TextFields. When they hit the button the label displays the volume of the measured object in Gallons. That...
I'm getting this every time I attempt to debug my app in the simulator:
[Session started at 2010-05-11 16:16:52 -0500.]
GNU gdb 6.3.50-20050815 (Apple version gdb-1467) (Wed Apr 21 06:57:21 UTC 2010)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to chan...
I need to access a video returned by the UIImagePickerController and know if it was recorded portrait or landscape. I've seen references to mov_read_tkhd but I'm not sure if that will do the job, or indeed how to include the necessary libraries.
...
I've used SQLitePersistentObjects for a lot of different iPhone projects and haven't yet encountered this issue. I'm not sure if it's a bug or merely an issue on my part.
I have a model with quite a few fields in it. Here are the fields enumerated as they exist in the sqlite database:
SELECT pk,sender_i_d,read,target,web_u_r_l,sender_t...
I'm using OpenGL ES 1.1 on the iPhone, and I'd like to use the following functions:
glBlendFuncSeparate
glBlendColor
With their related constants. These didn't exist in early iPhone GL implementations, but according to this page:
http://developer.apple.com/iphone/library/releasenotes/General/iPhone30APIDiffs/index.html
they should be...
I try to show a image in my iphone app but it doesn't show. I connect in IB and I check to show a local image, it workd good. I also check the url from image and it is ok. I use the next code:
NSURL *imageURL = [NSURL URLWithString: aVideo.urlThumbnail];
NSData *imageData = [NSData dataWithContentsOfURL:imageURL];
UIImage *image = [UII...
Has anyone tried it? The hardest part for me is to get the height of the UITableViewCell to be the same as that of the UIWebView. By debugging into the code, I noticed that the delegate for UITableViewCell (heightForRowAtIndexPath for getting the height of the cell) is called before the one (webViewDidFinishLoad) for UIWebView is called....
I was trying to implement a way to have the UITextField move up when the keyboard opened so that the user could see what they were typing but after implementing the code - it locks my scroll. The view will scroll when the user first gets to that view but after inputting text and closing the keyboard it locks the view. I suspect that it...
I try to play a video on the server with this code. I have a error.
//Play the video from server
- (IBAction)playVideo:(id)sender;
{
NNSURL *url = [[NSURL alloc]initWithString: aVideo.urlVideo];
NSLog(@"URLVIDEO %@", url);
MPMoviePlayerController *VideoPlayer = [[MPMoviePlayerController alloc]initWithContentURL: url];
[...
I have read Loren's article on drawing your own content for UITableViewCell.
Article
However, he is using a deprecated method. initWithFrame:resuseIdentifier: is deprecated on UITableViewCell.
How do you get his example to work without using initWithFrame:reuseIdentifier?
...
Hey guys,
I need to login here. I've tried the ASIHTTPRequest and ASIFormDataRequest.
None of them works as expected. I only got the data from the loginpage in the response string, not the data from the secure area.
What am I doing wrong here?
ASIFormDataRequest *request = [ASIFormDataRequest requestWithURL:[NSURL URLWithString:@...
I am writing a program where I where the first time a user runs it - they will have to fill out about 10 different UITextFields. I am trying to save the fields so that on subsequent runs of the program that whatever they previously put will already be displayed in those UITextFields so the wont have to re-input it in - unless they want ...
I'm implementing custom view which will provide image editing functionality (like filling with color, hand drawing etc). View initialized with image (pgn, jpg whatever), and user can modify it.
I'm not sure how it will be good to implement.
At the moment every drawRect I draw UIImage *mainImage.
During events like touchesEnded:withEve...
I have NSUserDefaults storing a number of string variables for things like name, date of birth, address, etc. What I would like to know is how to write a code that will create a new object for each new user. For example, I have a spinning wheel that shows up immediately after the first time the user runs the app. What I want, is for t...
I'm getting the following error:
2010-05-11 17:46:28.475
MyApp[54112:5e1b] bool
_WebTryThreadLock(bool), 0x140faa0: Tried to obtain the web lock from a
thread other than the main thread or
the web thread. This may be a result
of calling to UIKit from a secondary
thread. Crashing now...
Is there any way for me to figure ...
Say that there are no WIFI networks currently available and my network-enabled app is connected over 3G. How can I detect if a user has roamed into a WIFI network? I would also like to detect the case when the user is connected over WIFI and suddenly received 3G signal.
In other words, I would like to be asynchronously notified of netw...