Hi,
By default, it seems Mobile Safari adds the top inner shadow to all input fields, including textarea. Is there a way to remove it?
It's especially ugly when you have a white background.
Thanks!
...
Hello,
I'm creating a date like this :
NSCalendar *gregorian = [[NSCalendar alloc] initWithCalendarIdentifier:NSGregorianCalendar];
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
[dateFormatter setDateFormat:@"YYYY"];
NSInteger year = [[dateFormatter stringFromDate:[NSDate date]] intValue];
NSLog(@"NSInteger YEAR : %...
Hi there, everybody.
I need to do an app to be distributed ad hoc (it doesn't need to go to the store) but I need to get the information about the "data usage" (gprs/3g traffic). It is available on the system, but there is no official API call to get that info. One app made it through Apple testing (it's called "Download Meter"), thoug...
On occasion when setting layer.transform to a new transform I see the layer blink at its finished location, then animate from its current location to its finished location.
I don't know if this is related but at the same time I am setting the sublayerTransform on the layer's superlayer.
I've really have no clue why this is happening, a...
Hi,
I'm developing an app with SDK 3.1.2 and it runs in the simulator, but when I try to deploy it in the device it arise de following error:
2010-06-17 17:40:39.592 MyApp[2143:207] *** -[__NSCFDate dateInformation]: unrecognized selector sent to instance 0x21e6a0
2010-06-17 17:40:39.608 MyApp[2143:207] *** Terminating app due to unca...
Hi Frnz,
Can we use CLLocationManager class to determine the position of the user in an iPad app or is it used only for iPhones?
...
Can you point me a guide/tutorial/sample how to implement this correctly?
I just want in the first view (it's a view controller) there's a button.
Clicking the button will go to the 2nd view. The 2nd view will have a navigation controller and a table view (the table view will drill down to the 3rd view).
Most tutorial I've found, they ...
i have a UITextView object and i want to load a label object or a set of label object over it but i dont have a view property for UITextView.The only thing i have is subViews property in UIView class which is parent class of UITextView.How should i really go about it...
...
I can firgure out how to push a UIView from a Tableview and have the "child" details appear.
Here is the view I'm trying to load:
Here is the code that checks for children and either pushes a itemDetail.xib or an additional UITable, I want to use the above .xib but load the correct contents "tableDataSource" into the UItable:
- (voi...
Hi all, I'm trying to collect data for a machine learning project I'm working on. What I'd like to do is collect accelerometer data from an iPhone, save it to a csv and email it to myself. My app currently is able to acquire data from the accelerometer, but I'm at a bit of a loss as to how to proceed. First of all, I'd like to acquire...
As an overview, I'm having issues with a UINavigationController inside of a UITabBarController calling viewWillAppear whenever a view is popped from the stack.
From the delegate, a UITabBarController is made programmatically:
// Create views for Tab Bar
UINavigationController *view1 = [[UINavigationController alloc] initWithRoo...
I know iPhone development fairly well. From personal experience, how hard would it be for me to get into Android. I am concerned less about code than I am about distribution of my software, given the fragmentation of the Android OS on compatible devices.
EDIT:
Thanks for all the great input so far. I just have one more point to clarif...
Hi,
I am trying to re-load a table every time some data I get from the web is available. This is what I have:
SearchDataViewController:
- (void)parseDataXML {
parsingDelegate = [[XMLParsingDelegate alloc] init];
parsingDelegate.searchDataController = self;
// CONTAINS THE TABLE THAT NEEDS RE-LOADING;
Implement...
This seems like a simple thing, but can't get it to work.
I pass a variable into a UIViewController thourgh a standard property:
[aViewController setProposedDate:proposedWorkLog.entryDate];
which is retained by the controller, and possible changed. I have verified that in the controller, the data is modified.
But, after it is popped...
I am trying to use a snippet of code from a Apple programming guide, and I am getting a EXC_BAD_ACCESS when trying to pass a pointer to a function, right after doing a malloc.
(For Reference: iPhone Application Programming Guide: Event Handling - Listing 3-6)
The code in question is really simple:
CFMutableDictionaryRef touchBeginPoin...
I am working on an application that requires user authentication to access a profile. The profile section is located solely under one tab (and all others tabs do not require authentication). I currently present a authentication view controller modally (and then dismiss on success) when the user selects the profile tab. However, this appr...
At various points during my application's workflow, I need so show a view. That view is quite memory intensive, so I want it to be deallocated when it gets discarded by the user. So, I wrote the following code:
- (MyView *)myView {
if (myView != nil)
return myView;
myView = [[UIView alloc] initWithFrame:CGRectZero]; // ...
I'm using NSXMLParser in my RootViewController.m file.
NSXMLParser *xmlParser = [[NSXMLParser alloc] initWithData:response_data];
[xmlParser setDelegate:self];
[xmlParser parse];
[xmlParser release];
I'm also implementing this method to add entries to a dictionary defined in RootViewController.m for later use:
- (void)parser:(NSXMLPa...
Okay, from what I understand, an integer that is a fraction will be rounded one way or the other so that if a formula comes up with say 5/6 - it will automatically round it to 1. I have a calculation:
xyz = ((1300 - [abc intValue])/6) + 100;
xyz is defined as an NSInteger, abc is an NSString that is chosen via a UIPicker. I want the...
In the iPhone SDK, is there a way to customize the width of the cells in a tableview that is having the style of UITableViewStyleGrouped?
The problem is that I am using an custom background image (width of 290px) for the cell.backgroundView but apparently that gets stretched. I want to be able to set the custom width of this cell so the...