Hi
I am developing an app which will let users to 'draw' on screen via finger touch - so basically users can write, draw shapes - similar to a white board.
The problem is I am a newbie as far as iphone graphics programming is concerned, I would highly appreciate if community here provide some sample code link or suggest a direction as w...
Can't get "Location" header from response at all. Wireshark says that i've got one:
Location:
http://*/index.html#0;sid=865a84f0212a3a35d8e9d5f68398e535
But
NSHTTPURLResponse *hr = (NSHTTPURLResponse*)response;
NSDictionary *dict = [hr allHeaderFields];
NSLog(@"HEADERS : %@",[dict description]);
Produces this:
HEAD...
I have a UITableView with a list of names, representing server configurations. I want the user to be able to select a server configuration, add a server config, edit a server config, or just cancel out of the view and return to the main view. I'm having a hard time trying to figure out how to achieve all of that functionality in this vie...
I have several existing XML schema files with a defined data model. I would now like to incorporate the exact data model in an iPhone app, using Core Data for persistence. Does anyone know if there is a way to create a Managed Object Model other than by using the graphical tool in Xcode? It would take me a long long time to have to go th...
I'm trying to learn how to use the UITableView in conjunction with a SQLite back end. My issue is that I've gotten the table to populate with the records from the database, however I'm having a problem with the section titles. I am not able to figure out the proper set up for this, and I'm repeating all tasks under each section.
The ta...
I am trying to figure out the code for clearing multiple text fields at once. I know that there is another question like this with answers but could I get a little more information or code examples. I have 16 text fields in my app.
Thanks
...
It looks like a few people on stackoverflow get this to work but their code isn't posted. I'm using
[web loadData:data MIMEType:MIMEType textEncodingName:@"UTF-8" baseURL:nil];
where MIMEType is:
@"application/vnd.ms-powerpoint"
@"application/vnd.ms-word"
@"application/vnd.ms-excel"
(BTW, I've seen DOC files use mimetype @"appli...
I'm fairly new to iPhone programming and am trying to implement a double-component PickerView. At this point the picker works fine in terms of taking user input, created with Interface Builder. However, I need to change the font size to accommodate the text length in each column. I very much would appreciate any link to a straightforward...
Hello all i want to display an image in mfmailcomposer it shows when i add it to attachment but not at the exact place where i want to show it how do i show image in mfmailcomposer. also does someone knows how to launch safari when click on a url in mfmailcomposer?
...
What will [[UIDevice currentDevice] model] return for "iPad"?
...
Is there any way to copy text from a TextView that has User Interaction is enabled to the clipboard via a UIButton?
But instead of the user holding down his finger on the uitextview so that the apple standard window popups to copy I want the user to be able to do with just the click of the button ..
(Whole text)
Regards,
...
I have an XML schema that defines my data model. I would now like to have Objective C source files generated from the XML schema. Does anyone know how to accomplish this?
...
I need to implement a view where I need the user to answer several questions using YES or NO. I thought of using a UISwitch but as far as I see it does not allows replacing the ON/OFF messages it shows with YES/NO. Am I wrong?
I thought of implementing a segmented control with 2 buttons but this is like using a cannon to kill a fly... ...
I need to communicate with a hardware device using TCP and with Windows I would use WinSock.
What is the equivalent library that I can use from the iPhone SDK?
...
Hi there! I'm writing an app that copies some contents of the bundle into the applications Document's directory, mainly images and media. I then access this media throughout the app from the Document's directory.
This works totally fine in the Simulator, but not on the device. The assets just come up as null. I've done NSLog's and the ...
Hello,
I know I can change the selectionStyle of a UITableViewCell to make it highlight blue or grey when selected, but how can I change this when in editing mode. I dont want the cell to normally by selectable, only when in editing mode, like the Alarm part of the Clock application.
Thanks
...
I have the following code to do a UIView animation:
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:1.0];
[UIView setAnimationDelegate:self];
[UIView setAnimationTransition:UIViewAnimationTransitionFlipFromRight forView:mapView.view cache:NO];
[self addSubview:detailView];
[mapView removeFromSuperview];
[UIView c...
Hey everyone... so Im trying to figure out how to do this. I have bounced around alot of forums to try and find my answer, but no success. Either their process it too complicated for me to understand, or is just overkill. What I am trying to do is this. I have an XML file within my app. Its a 500k xml file that i dont want the user to ha...
could you please show me some example please?
...
Hi All,
I originally setup some conditions using CGRectIntersectsRect for some collision detection which worked fine. In the greater scale of things I only need part of the view to be detected.
So originally within the ViewController it was comparing 2 UIviews.
Now what I need to do is collision detection of subViews within 2 differe...