Hi,
I have a UIViewController containing its UIView which occupies the available screen (inbetween the tabbar and nav bar).
I'd now like to add a simple toolbar which is situated at the top of the UIView which will contain some buttons. One of the buttons should display a drop down menu which is displayed as an overlay over the UIView....
Hi,
I use Sql Server 2000 and I inserted some data in hebrew to a table.
I need to access this data through an iPhone app using an ASP page that query the table.
The problem is that in the iPhone app the Hebrew is shown as strange signs.
I think my problem is that the data that is generated from my db isn't in UTF-8 but in USC-2
Any sugg...
I want to build the toolchain for iphone on the snow leopard.I search on google and the answer is always for leopard.I replant it on snow leopard but there are some error.I can't build it.Does somebody had build it?
...
In my app, I create view controller objects as I need them. When a view controller goes away, I get rid of it by calling -removeFromSuperview on it's view and then set the retaining property to nil.
That way my app uses very low memory all the time. But there's a problem: I have heavy animations going on in some view controllers, and ev...
I've submitted an app to the store that has been localised into a number of languages. Now it's time to update a few things, so I've added a few new components to a xib or two and modify them as IBOutlets from my code. All works great in English, but when I change to a different language it appears that my nib additions haven't been prop...
showDescriptionPath is being passed from the previous Tableview. The text shows up, but the entire path prints in the UITextField instead of just the value of "Description" in my plist.
NSString *DescriptionPath = [[NSBundle mainBundle] bundlePath];
NSString *DescriptionInfoPath = [DescriptionPath stringByAppendingPathComponent:showDes...
I want to write an application that allow user to count down the time. The time will be displayed using label. I want to update the label every second, how can I do it? or which API is suitable for me to do this? thz in advance.
...
Althoug I read everywhere that the method signature has a BOOL for finished, I do never get a false. It is always true. And now the strange thing:
When I NSLog that out with %d, it is always either 32 or 40. Other BOOLs I have are either 1 or 0. That makes no sense. So: Not a bool, right?
What's that instead, really?
...
I am having a problem with a network request that should timeout, but the method is not called. The request is as follows:
#define kCONNECT_TIMEOUT 20.0
request = [NSMutableURLRequest requestWithURL: aUrl];
[request setHTTPMethod: @"POST"];
postData = [jsonData dataUsingEncoding:NSASCIIStringEncoding];
[request setHTTPBody:postData];
...
I'm doing an application who can play podcasts, but i feel more comfortable is the iphone default podcast application plays itself, instead of me having to handle them.
Passing the url to the sharedApplication object , safari opens and starts playing it .. but i'd like to skip the user seeing safari .. is there any way ?
Thanks.
...
Hi,
I have a weird problem.
I'm subclassing UIViewController and adding a tableView property in which I load a UITableView.
Now I'm adding this UITableView to the parent's subviews.
Works fine but I get TWO TableViews. One standard styled TableView and one the way I wanted it to be on top of the standard one. Both contain the correct d...
When trying to get geolocation on iPhone the first time - I declined.
Every other time I want to get the location (before another reload of the page) I get no response (no error and no success):
navigator.geolocation.getCurrentPosition(
function (location) {
ig_location.lat = location.coords.latitude;
ig_location.lng...
Hey everyone,
Where can I find a list of transitions for bringing a new Viewcontroller onto the stack.
My line of code is:
[peoplePicker pushViewController:myDetail transition:6];
after selecting a contact. Where can I find a list of transitions, and why does "6" work correctly?
Also I get a warning with this code saying it may not ...
Since both iPhone and Android support OpenGL ES, is there any open source or commercial GUI library we can use for these two platforms? Or is it doable (or how difficult) to port an application from one to another platform?
As I know, for iPhone only, libNUI (http://www.libnui.net) is a good choice (dynamic layout & mature), but it only...
Hello,
I have two tables related: DataEntered and Model
DataEntered
-currentModel
Model
One DataEntered can have only ONE Model, but a Model can stay into many DataEntered.
The relationship is from DataEntered to Model (No To Many-relathionship) and no inverse relation.
XCode generates the setters for DataEnteredModel:
@property (...
I have an object that contains about half a dozen properties. I expect to save maybe a dozen or more of these objects to my documents folder. My solution is to save the data using NSEncoding and NSKeyed/Archiver/Unarchiver. Anyone have a better strategy or approach.
...
When I drag 'My iPhone App' application's file into iTunes it has proper view. Rounded corners and transparent background.
Then I close iTunes and open it again. Corners are still rounded but... What has happened with the background?
http://www.freeimagehosting.net/uploads/15fee337bc.png
Icon is a project's resource file named 'iTunes...
Hi,
I face some difficulties when adding a framework to my project when i run an iPhone app from the command line.
My final goal is to run applications tests from an automated build process.
When i run my app from xCode :
I add a "Copy File" build phase to my target and everything goes fine.
The copy is set to $(BUILT_PRODUCTS_DIR) as...
I am trying to implement RSA encryption logic in a iPhone app. I have created two seperate public and private key file using Java API. As per our requirement we will have to encrypt few secured data(inside iPhone client app) using previously generated public key file before sending it to J2EE based server. How can I create SecKeyRef obje...
I have a custom UIViewController, which is the only subView of UIView. The UIViewController contains delegate function:
(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
return YES;
}
This function is called once when the application starts and is never called again when the device is rotated...