I'm developing an app where I want to setup a secure channel between my app and a server.
I want to extract information like CA and algorithm from the SSL certificate on the server. How do I achieve that? Can it be done with NSUrlConnection, CFNetwork or do I have to develop a whole lot myself with BSD sockets? Is there some open source ...
I've developed a static library that I'd like to share between XCode projects. I did some reading to learn exactly how to include this library as a binary dependency so that it runs on both the device and the simulator and that lead to a couple of manual steps which I'd now like to automate. Overall I'd like to be able to release new ver...
I've got a weird issue with quartz. The first time I run the piece of code below, the line will be drawn like the line to the right in the image. The second time (and every time after) these lines are executed, the line will look like the line to the left. Why does it look like that? It's all jaggy and seems to have a dark border. If you...
I need to implement a view with clickable areas just like HTML image maps. The background of the view will be an image that fills the entire canvas and the boundaries of each clickable area are different is size and shape. What is the best scenario to do this in iPhone?
...
Hi,
I'm developing a web application for the iPhone using Dashcode. I would like to scroll a view of the stackLayout since the div exeeds the screen of the iPhone.
"overflow: scroll" doesn't work unfortunately
Any ideas?
Thanks a lot
...
I am trying to replicate the behavior that the iphone that happens when you tap and hold on a phone number link in a text field you get a menu "create new contact" and "add to existing contact". I have this working except for one thing. In the "add to existing" apple implementation if there is already a home contact, it just adds anoth...
Greetings,
I'd like to convert a PointPoint file to PDF using C/Objective-C (bonus points if you suggest a solution that could run on an iPhone directly).
There are a number of Java libraries to work with MSFT files (odftoolkit, apache poi), but I'd really like to perform this operation on an iPhone device.
Apple has built in libraries...
Hello,
I have been looking thru the documentation and some other posts in this site, but I simply cannot understand how to work this out, which is actually very simple in SQL.
Basically I have 2 entities Instruments and Deals. And the "Deals" use an "Instrument" to perform a desired operation. Now I want to list Deals attributes and t...
I'm creating an app in which I do the same thing multiple times. I'm going for as little code as possible and I don't want to repeat myself.
I need the PHP equivalant of a reusable function, where I set an input, and the function will return the output.
The app is a URL shortener, so the input as you may assume is a URL, and the outpu...
I've read that as of iPhone OS 3.1, GameKit supports wifi connections. But the documentation states:
"If your application configures the
peer picker to allow Internet
connections, your application must
also dismiss the peer picker and
present its own interface to configure
an internet connection."
Does this still stand? ...
Hello,
I have an API which sends an XML Request to a server:
<?xml version="1.0" encoding="UTF-8"?>
<request type="handle" action="update">
<userdata>
<username>YourUsername</username>
<password>YourPassword</password>
</userdata>
<handledata type="PERSON" id="HandleId">
<name>Mustermann</name>
<firstname>Max</firstname>
<organization>F...
When using property/synthesize for a UITableView, UIButton, etc should self be included in the method call on that variable? Using UITableView as an example is there a difference between [self.myTableView visibleCells] and [myTableView visibleCells]? Or say [self.myImage setImage:...] and [myImage setImage:...]?
I've seen Apple code tha...
Hi All,
I am trying to save a rotated and scaled UIImageView as an UIImage in the position and with the zoom scale that the user edited too. But I can only manage to save the original image as it was before editing. How can I save the image as it is shown in the UIImageView with the same scaling and rotation? I have read that I need to u...
Hi,
I'm planning on using Keychain in an iPhone app to store some username/password information. Am I still required to file for an CCATS?
Thanks,
...
Hi There,
I am having a strange effect with touches. Sometimes when I swipe the screen slowly the touchBegan and touchMoved get called but not the touchEnded, which kinda screws up my view movements. How is it possible that touchEnded doesn't get called? And my finger leaves the screen without running off the sides or anything like that...
I am using @property(nonatomic, retain) for my IBOutlets for an iPhone application. However, I'm not sure how to make sure I'm managing memory with them properly. The IBOutlets are all set up in Interface Builder, so I'm never calling alloc manually. This means that I'm not sure when and if to deallocate them or when to set them to point...
Hello all,
I am attempting to show an alert view as soon as the view appears (without using a button). In viewcontroller.m I have:
- (void) viewWillAppear:(BOOL)animated
{
UIAlertView *alert = [[UIAlertView alloc]
initWithTitle: @"User Information" message: @"Hello"
delegate: self cancelButtonTitle:nil otherButtonTitles:...
This might seem like a really dumb question, but I am writing an application and I have come across where my mouse-over, mouse-click and mouse-hover need different events bound to them. Now on Internet Explorer, Firefox, and Safari. It all works as expected.
However, on my iPhone the actions will not trigger. Now my question is are the...
I submitted my app a little over a week ago and got the dreaded rejection email today. It reads as follows:
Dear -----------,
Thank you for submitting --------- to the App Store. Unfortunately it cannot be added to the App Store because it is using a private API. Use of non-public APIs, which as outlined in the iPhone Develope...
I have a project with a bunch of .png files that I want to convert to PVRTC compressed textures. Right now, I'm using a custom XCode run script phase that looks like this:
TEXTURE_TOOL=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/texturetool
$TEXTURE_TOOL -e PVRTC --bits-per-pixel-2 -o "$SRCROOT/images/select_menu_bgs1.pvr...