Hello Experts!
I am trying to do a POST towards a site which utilizes secure session with cookies.
Ofcourse this won't work with the code I have posted below. It keeps responding with a non-authorized message.
Is there any way I can use cookies in my code or at least simulate cookie usage?
NSURL *url = [[NSURL alloc] initWithStri...
Hi everybody,
I am asking this question second time in a different manner. I want to insert UIImages inside the composer sheet of MFMailComposerViewController.
Please note I dont want to attach them but I want to place them in a table using HTML code which will be the part of the email body.
I am really finding it difficult to find a...
I know you can register to have alerts or not when you call the push notification API. However my problem is that I want a certain class of actions to have an alert notification while no alert notification for other class of action?
So for example, an alert should be shown when we send the notification "Heart rate dropping alert!". But...
I am trying to add a border around each contact photo. I have working code to create this bordered image and working code to set it as the contact image:
if (image) {
NSData *dataRef = UIImagePNGRepresentation(image);
CFDataRef cfdata = CFDataCreate(NULL, [dataRef bytes], [dataRef length]);
CFErrorRef error;
ret = ABPe...
hi all
i want to download a file from a server using API as i send a request the content on that link comes to my document directory in iphone/ipod touch, and after downloading is it possible to remove them from the document directory. is there any way to do the things like that .
Thanks
Balraj
...
Since *67 doesn't work when embedding in phone links is there a way to programmically block caller ID from an application?
...
Hello,
in my iPhone app I would to create a ThemeManager in order to skin the view.
I am wondering what is the best way to limit memory use.
I would like to fill a view with a background.
Should I load a 1px pattern and draw it into the view or should I load the complete image ?
Thanks for you comments.
Thierry
...
In my iPhone app I provide users with a view of industry news items. I get this list as an xml file from my server. Parsing and inserting the xml data into my Core Data repository is a no brainer, but there are a few cases where I might get duplicate news item entries.
I thought a good solution would be to insert all the updates when I ...
Hi,
I've disabled auto-correction type for my text field,
and it does not show any other auto-correction,
but it still automatically creates a dot (.) when I press space key twice.
For example,
if I write "test" and press space key twice,
it automatically changes into "test. "
Anyone knows how to disable this feature?
Thanks a lot.
...
Hello,
I am trying to build an RSS reader for the Tom's Hardware website.
I have an error when I try to load an URL into an UIWebview from an RSS link.
Here'is my code:
- (void)viewDidLoad {
[super viewDidLoad];
if (self.url != nil) {
NSURL *requestUrl = [NSURL URLWithString:self.url];
NSURLRequest *requestObj = [NSURLRequest...
I have been looking for any example code for drawing a UILabel (or just an NSString or something) on a curved path, but have come up empty handed.
Does anyone know whether it's possible to draw text on a curved path, like a circle or something, without using separate pieces of graphics for every single letter?
...
Hi,
I´ve created an utility Application which is nearly complete, but now I´m on a point were I really have to persist Data.
Since XCode provides only Core Data Templates in an Navigation or Window Based App, is there an easy way to add Core Data to my Application? I´ve never worked with Core Data and just have to persist messages with ...
I am using ASIHTTpREQUEST
I am adding about 10 requests to ASINetworkQueue and calling go
( exactly like in the sample code ) .
But as soon as my queue starts my iphone ui totally freezes and
"unfreezes" only when queue is done .
I want my UIAction to take priority over network activity .
Should i be doing/ setting something else ?
...
In my iPhone app, views will often load slowly when transitioning, like if a user clicks a button on the Tab Bar Controller. This happens more if the phone is low on memory. It doesn't really come up on 3GS phones, but it's a big problem on 3G phones.
I suspect that I'm not following some best practices for creating UIViewControllers. I...
I still can't seem to get a "correct" answer to this question.
Essentially I want to create a JSON-RPC server with the following functions
string subcribe_to_feed( callback )
string get_information( params )
The client is an iPhone application, and the server should be done in Twisted (if possible)
The client should be able to do so...
When I try to print an integer value to the console that is retrieved from an NSManagedObject, it displays a 6 or 8 digit value (the object ID?). However, if I use the debugger 'Print Description to Console' is shows up as the single digit value I expect.
For example, I assign the object 'sequence' to an NSInteger and then display using...
I would like to implement a view similar to the detail view of Apple's own Contacts app where it displays the name, phone number, note, etc. and its Edit mode.
Can you dissect how the whole view is done? Is that view done with a UITableView or a UIScrollView?
...
I have a project that I've been working on for a while. It is a standard Xcode/Objective-C iPhone app. I created the provisioning file for my device and a couple others. Now I would like to add a few people as testers.
Do I need to download and install a new provisioning file?
Do I need to change settings in Xcode?
What's the eas...
I have a method called like this...
-(void)dbUpdate:(int)forId {
Which contains this sqlite to bind and update a database.
sqlite3_bind_int(UPDATE_ACCOUNT, 3, forId);
When I run the query, it doesn't give me an error, but it doesn't update the database either.
If I change this line of code...
sqlite3_bind_int(UPDATE_ACCOUNT, 3,...
I have a UITextView that is properly displaying URLs thusly:
contentView.editable = NO;
contentView.dataDetectorTypes = UIDataDetectorTypeAll;
My goal is to make it so you can still tap on this text view in order to edit its text at a particular location (just like the built-in Notes app). That way, if you tap a link, it'll launch a ...