I have an NSDate object which I use in the main thread of my iPhone app and I also reference it from a background thread, its defined like this:
//header
NSDate *currentDate;
@property (nonatomic, retain) NSDate *currentDate;
//implementation file
@synthesize currentDate;
Then in my app, I call a refreshData method which passes that ...
Hi. I have 2 points in a UIView, but I am unable to get the correct line equation between these two points because UIView coordinate system is not cartesian. When I apply the cartesian slope of a line, I keep getting the wrong slope for the UIView coordinate system. Maybe I'm applying the identity matrix incorrectly or using the wrong id...
Hi
I am developing web application for iphone. Is it possible to implement Tab bar controller in dashcode.
Is there is any option available for implementing tab bar using dashcode for developing web application.
Thanks
mindus
...
I use this code until upgrade to OS4.0 and then my custom keyboard not show it again.
have any suggestion !? Thanks
(void)keyboardWillShow:(NSNotification *)notification {
for (UIWindow *keyboardWindow in [[UIApplication sharedApplication] windows]) {
// Now iterating over each subview of the available windows
for (UIView *keyboard i...
Hi @ll!
This is no typical programming question.
I am currently developing an app using the latest SDK. This app will use the UIImagePickerController for taking pictures with the built-in camera.
I know the new iPhone 4 has 2 cameras built in. But the simulator doesn't support the camera in any way, so there's is now way to test the cam...
-[NSCFString bannerView:didFailToReceiveAdWithError:]: unrecognized selector sent to instance 0xbc459c0
2010-08-30 12:01:37.340 Transit[2892:207]
* Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSCFString bannerView:didFailToReceiveAdWithError:]: unrecognized selector sent to instance 0xbc459c0'
* Ca...
how can i make a button such that user only see the text on it but not the button in iphone sdk ?
i tried to lower its alpha value but even then it appears a little
...
I want the animation between the two viewcontrollers in uitabbarcontroller.
I am having the two tabbar. The first one open by default when run the app.I want the animation,while i go to the second tabbar.How can i do this.
Thanks
...
Hi I am having a string as G531 Other Dough Products.
Here I want only Other Dough Products, reply me with code.
I tried with substring but that is not working.
Thanks in advance .
...
What are the typical mistakes an iPhone developer unaware of accessibility makes that renders their app unusable by customers with common impairments?
What are the first and easiest steps to take when making an iPhone app accessible to the vision impaired (etc.)?
How do I make sure Voice Over says or does something appropriate for all ...
i am new in iphone prog...
i am using UITextView to view my data from database...
my app is showing high scores from database.... i stored every row of data in a dictionary and then this dictionary in an array...
then i did reverse of that here....
here nextclass is object of that class where the actual method of select command is.......
hello
I am using Textview which has dynamic any length data. i want to set the size of scrollview to more than the size of Textview.
How can i set the size of scrollview as the size of Textview ?
Thanks in Advance ....
...
I'm currently using writeImageToSavedPhotosAlbum:orientation:completionBlock: and it is taking a little over 3 seconds to write an image to the Photos album ... whereas the standard Camera app seems to persist images much faster.
So, what is the fastest way to write files to the default Photos album?
I'm not sure what all my options ar...
I have developed an app for the iPhone, and I know Apple would like any apps to support multiple orientations on the iPad, but I'm wondering if it's actually required: Will the iPhone app be rejected for only supporting one orientation?
Thanks in advance
...
Hello
Can anyone provide sample integration or please let me know any 3rd party api for speech to text conversion in iphone ?
Thanks & Regards,
Tariq
...
i am trying to do the login form i have created two uitextfields for username ,password and one uibutton for login. when i enter password in password textfield i want to display all the text as '*' or any special characters like in the following images
is there any default ways in sdk to do this or we have to do it logically if any ...
Ok here goes my setup:
Object Model:
* Category object is at the root
* Product is linked to a Category (many-to-1)
* ShoppingItem is linked to a Product (many-to-1)
Application setup:
My application has a TabBarController at the root and a tableviewcontroller at the root of each of the tabs.
The first tableviewcontroller shows ...
Hi All,
I am facing a strange problem. In a table view, I am having 3 sections out of which 1st section is having only labels and text fields. 2nd and 3rd section contains text fields and disclosure indicator on some cells of table.Say 2nd section is having 10 cells, then 3 contains disclosure indicator and other having text fields.
My...
countryField=[[UITextField alloc]initWithFrame:CGRectMake(0,0,100,25)];
countryField.textColor = [UIColor blackColor];
countryField.font = [UIFont systemFontOfSize:15.0];
countryField.backgroundColor = [UIColor redColor];
countryField.keyboardType = UIKeyboardTypeDefault;
countryField.enabled=NO;
countryField.dele...
I have an NSString like this @"2010-08-30T11:00:00-04:00" . How to convert this to an NSDate ? Which DateFormat should be used with it ? I tried this @"yyyy-MM-dd'T'HH:mm:ss-SSS" . But didn't worked. Please help me.
Edit
I found @"yyyy-MM-dd'T'HH:mm:ss-SSS" was working fine in OS version 3.1 . But its not getting in 4.0 .This questi...