Hi,
I'm creating and adding an UIButton dynamically to UIView, like:
UIButton *btn = [UIButton buttonWithType:UIButtonTypeContactAdd];
btn.frame = CGRectMake(100, 10, btn.bounds.size.width, btn.bounds.size.height);
[btn addTarget:self action:@selector(myAction:) forControlEvents:UIControlEventTouchUpInside];
[myView addSubview:btn];
...
Ok I believe this must be a pretty common scenario. I need to send a NSData variable over a HTTP request through a PHP page which then subsequently stores it in MySQL. This will be retrieved later by some other HTTP call which then downloads it into a NSData again. What is the best way to do this?
Should I convert the NSData into some s...
Hi, everyone.
I am planning to applied the feature like 'Recents' view in Phone application of iPhone. This view show option on the top, 'All' and 'Missed'. Default option is 'All' but if you tap 'Missed' option the entry in UITableView which aren't 'Missed call' will slide out and disappear. This is the good feature.
So I know you can...
I have a checklist in a UITableView and I have a UISegmentedControl with "Select All" and "Deselect All" options.
I am wondering how I can reset all the cells while viewing the table. The [self.tableView reloadData]; function does not seem to do the trick.
Any thoughts?
Thanks!
...
When I compile my iPhone project (in the command line), the log output looks like:
2009-11-05 22:19:57.494 xcodebuild[51128:613] warning: compiler 'com.apple.compilers.llvm.clang.1_0.analyzer' is based on missing compiler 'com.apple.compilers.llvm.clang.1_0.analyzer'
=== BUILDING NATIVE TARGET Foo OF PROJECT foo WITH THE DEFAULT CONFIGU...
Hi,
I am having a strange problem:
In -(void)viewWillAppear:(BOOL)animated method I use:
[[UIApplication sharedApplication] setStatusBarHidden:YES animated:NO];
It means I am hiding the StatusBar, since I am hiding it, all the controls in my View are shifted upside by some distance when I run the application so, it appears in differ...
I want to duplicate the functionality you see when you tap and hold a phone # in an email. You see a menu pop up and 2 of the options are "Create new contact" & "Add to existing contact". After selecting a contact, you then have a contact with the phone number displayed and can further edit the contact in the contact edit page. Try ta...
Whether iphone media player support .wmv and .wma?What are the other formates that iphone media player support?
Thanx.
...
I have used CustomView.h and CustomView.m from UICatalog sample into my PickerView. But row is not selected/highlighted and scrolled up/down automatically. While the same is happened in standard picker view. How can I select/highlight and scroll up/down automatically with custom view in UIPicker? Thanks.
...
I am writing a string tokenizer in Objective-C for an iPhone application.
I have the result as:
1|101|Y|103|Y|105|Y|107|Y|109|Y|111|Y|113|Y|115|Y|
I want to tokenize this string and display each of the values in tabular format. How am I to do it?
I want the result in a tabular format. Like:
102 Y
103 Y
.. ...
...
Is there a quick way to clear all data of my CoreData without calling deleteObject for each entity in the model?
...
Hi,
We have hidden the status bar in our application. But when there is an error in playing the video, I get "This movie could not be played" pop up. When this pop up is getting displayed, status bar becomes visible and it stays visible always till we shut down the application.
How do we fix this
...
So all I wanna do is play a sound when the user touches a UIScrollView.
The UIScrollViewDelegate has that scrollViewWillBeginDragging: method but it only gets called on touchMoved. I want it to get called on touchBegan.
Tried touchesBegan:withEvent: but it doesn't receive any touch.
Anyone has a clue?
...
hai all,
in my iphone application i have a login view with two text fields, one for user name and one for password, after the view appear the user need to tap on one of the text field then only the key board appear so that they can enter text, is there any way to put the keyboard up when the view is loaded (ie, the user can directly sta...
hi i am new to objective c. i have a login view controller with .h, .m, .xib files.
and after successful login i need to go to the second page.
The scenario is this, i am accessing web services. to authenticate the user, i send the username and password to the web service and in return i get a string value.
based on the results of the...
Hello,
I have UIScrollView in my view. Problem is that if I slightly scroll it than also it scrolls automatically to down, I mean scrolling does not stop at particular stage.
...
I want to encrypt the sound in objective c (iPhone), so that i can send it to web server, after sending the php automatically decrypt the file. Is there any way, kindly help me...
I have sound in NSData variable.
...
HI guys ,
How do i display the full addressbook in a tableview...using UITableview and Abaddressbook class.......?
...
I have a been trying to do a search feature in a PDF application. I read the Quartz 2d guide in iphone reference library. And so much has been said about the "pdf operators". It's by using them that everything is done, by using call-backs for them.
For info about pdf operators, we should read pdf reference of adobe. But it's very vast. ...
Hi,
Iphone application is using the static co-ordinates to reach at some points in the application,which is based on the button event.
But what i want is when i drag the item than it should reach at some point where i drop it and again from the drop point it should move to the other point.
can anybody guide me what is the method availa...