Hi,
I am using the new Retina display feature of ios 4.0 in my iphone application.
I added the images for higher resolution with the naming convention as [email protected] to my existing image folder.
eg. I am adding the image in the following way:
UIImageView *toolBarBg=[[UIImageView alloc] initWithFrame:CGRectMake(0,0,320,88) ];
NSString...
I have just spent little time with iOS. Anybody can tell me how to construct a nice Human Interface in iPhone. Give me advices, tutorials or something help me to learn how to construct a nice iPhone Human Interface. Thanks:)
...
Hi!
i've implemented a transition methood in my app delegate file and from every where in the
code i want to call it in order to make nice and cool transitions. i call her like that
[[[UIApplication sharedApplication] delegate] transFromMainToGalery];
for example.
the problem is that im getting warning which is ok (cause it alrea...
const char *sqlStatement = "select rowid from mytable where name = 'mac'";
Then I am getting correct result. But If I do :-
NSString *str=@"mac";
const char *sqlStatement = "select rowid from mytable where name = str";
I am getting error no such column : str. How to pass variable to sqlstatements?
...
Is there a way to enable video compression on video files recorded with UIImagePickerController?
When videos are selected from cameraroll with UIImagePickerController they are automatically compressed.
Are there any other way of compress a video? I've got access to the file with a NSURL.
...
hi, for my following code, why is my activity indicator for my webview not stoping?
//this part ok
NSURL *theURL = [NSURL URLWithString: Link];
NSURLRequest *request = [NSURLRequest requestWithURL: theURL];
UIWebView * webView = [[UIWebView alloc] initWithFrame:CGRectMake(0,0,300,300)];
webView.scalesPageToFit = YES;
[webView...
Hi all,
i have a weird problem .. maybe the solution is simple but i'm just a newbie in iPhone app development
the problem is:
i have created xcode iphone project , tested is and it was running well.
copied the project folder to my desktop . opened the project from the new location . tried to run the app, the simulator opens and the app...
i've a gps tracker that now works great, except when iphone lost gps connection.
When the connection is lost the track make one or more point to a random location (as you can see in this image:
In which way i can discard this bad values?
I've think to do in this way:
before save my data i can do a sum of my integer values of current l...
Hello.
I have an SQLite database in the first version of my iPhone application (which is on the app store). Now I want to roll out the second version of the application, which also has an SQLite db in it.
I understood that upon update, the SQLite database is removed and then the new one is added. I don't want this to happen, since that...
Hello All,
I am facing very strange problem. I am using MBProgressHUD for displaying loading screen. The problem I am facing is the spinner goes disappear from the screen but the delegate "hudWasHidden" is not called, but when I touch the screen its getting called.
Thanks
Saurabh
...
hai i a'm trying to create a sqlite database programmatically at the run time. can anybody say how to create it in iphone sdk. thanks in advance
...
hi,
i have a tabbar app with 4 tabs.
i want to add a small view (frame is: 0, 390, 320, 50) just over the tabcontrollers. the view shows a picture (like banner).
but i want to see it on all over tabs. not just first tab's view controllers.
where should i add it? should i use viewcontroller for it?
...
Hi,
I'm using this following code to set blur effect for an uiimage basing on slider value. sliver value ranges from 0,5,10,15,20. THis logic is working fine in simulator but it is crashing in device. Please tell me anyone whats wrong in this logic, or is there any other logic better than this.
I'm new to this objective-c. Please help...
I want to creat an UITableView which each cell (UITableCell) in this table can be moved left or moved right (System will be notified when user touchs down the cell and moves finger to left or right). Anybody can tell me how can i do it :) Thanks :)
I want to build a Table which each TableCell in it become a menu likes image bellow when...
Hi all,
I'm building an iPhone app for a restaurant and would like to implement also an administration area that should only be accessible/viewable to approved users (users will be approved on a server).
Will Apple accept an App which has functionalities hidden to the majority of its users?
Thanks,
Miguel
...
How do I get the current working directory's absolute path on the iPhone using Objective-C?
...
During development, I'd like to have an XML file in my iPhone app's Documents directory when it starts. Is this possible? Having read this answer, I tried adding a Run Script build phase, but I can't find an environment variable that points to the application's home directory after installation. To be clear, the directory I want to mo...
Hello,
Please tell me how to
Get the current working directory's absolute path
If this is the absolute path
/Users/iphone/Documents/Archive
how to convert this path to relative path?
How to check if directory exists at patricular path programmatically in Objective-C and if it doesn't exist how to create it programmatically? i need t...
EDIT: I found the problem, which was totally unrelated to the below. It was due to me doing a bitwise comparison that I failed to mention below - I thought it wasn't relevant - I removed this (and found an alternative solution) and my query now executes in < 1 second on device.
I'm currently working on my first iPhone application which ...
we know that using category we can add functions to existing class. But i have a doubt that, Is it possible to add objects or data members to category in objective C ??
...