I have a CALayer object. In viewDidLoad: I set a transform to it using layer.transform = CATransform3DRotate(CATransform3DIdentity, M_PI/8.0, 0, 0, 1); This works.
After loading, I apply a CAKeyframeAnimation to animate the rotation of that layer. It also works and animation finishes correctly. To prevent the layer from removing the ani...
hi, i want to develop application using which user can print documents (text or doc or images or pdf etc.). User just give print command from an application, application lists available printers (via bluetooth or wifi), user select particular printer and give print command.
Any ideas ???
I dont think GameKit or Banjour will be useful i...
Hello
I am writing a paid app for the store which gives you a 1 year subscription to some content.
This means I need to store on my web service db, when the user first launches the application some kind of unique user id (Apple ID?), along with the date. I can then do validation to check if the subscription is still valid.
I can see ...
Hi,
I have a php webpage that requires a login (userid & password). I have the user enter the information into the app just fine.. but I need an example on how to do a POST command to a website. The apple example on the support site is rather complicated showing a picture upload.. mine should be simpler.. I just want to post 2 lines of ...
Hi there, I have a question.
I'm developing an application which loads a first UIViewController, used to show some logos while fetching some data on the net.
When it has finished, it discard itself as subview and loads a UITabBarController. In a first time, this process started when the user tapped the screen, and I had no problems.
Now...
Hello stackoverflow,
So I am trying to create a search that returns a bunch of results to a UITableView. When the user selects one of the cells, I want to overlay a detail view of that result in a nice, concise window. This view needs to have some text, buttons and a photo. I was looking into hacking an alertview but read that that i...
In iphone settings there is an option called "Notifications" and inside it should be list of application which use Push Notifications.
How can I place my App there? Does the iphone SDK to this automatic if the appllication uses notifications or should I do this on my own?
If it should be automatic then why my app isn't there?
...
So I was reading this: http://stackoverflow.com/questions/2228302/storing-iphone-application-settings-in-app which seems simple enough.
However, where/how would I define the initial settings?
So for instance I have a Country setting: UK or USA. When the app is first installed/opened I want it to automatically know/set NSUserDefaults to...
How to differentiate between swiping from left-to-right & right-to-left in a UITableView cell.
Anyone has some ideas?
...
Hello,
Trying to implement the following behavior on an iPad.
I have a map-centric application which uses a tab-bar interface. The tabs at the bottom allow the user to choose between looking at the various different types of points that are marked on the map (e.g, think of the tab-bar items "food", "lodging" and "gas", where the "food...
i have to play movies one after another(queue), i try with MPMoviePlayerController by setting content url but flick is there.
Is it possible with AVPlayer..?
if possible any sample or tutorial
Thanks in Advance...
...
I have to specialize a search in my iPad app, and I think to use the scope bar with the search bar. But how can I get the index of a selected scope button and base my search on it?
thanks
...
I have my UIPopoverController with self as a delegate:
I receive calls when I tap outside the popover controller, but when I tap inside I want to dismiss too, so I use -dismissPopoverAnimated: but delegate is not called in this case.
Is this normal? Is this a bug or I am doing something wrong?
newDocPopoverController = [[UIPopoverContro...
Hello,
I have the below method in my project, and I get a compiler warning: Incompatible Objective-C types initializing 'struct NSNumber *', expected 'struct NSDecimalNumber * on the first line:
- (IBAction)sliderValueChanged:(id)sender {
// HERE IS WHERE THE WARNING OCCURS:
NSDecimalNumber *tempNumber = [NSDecimalNumber number...
Hi All,
Table view cell management has driving me crazy from past two days. Please check the code below and I will explain you the problem in detail..
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
static NSString *CellIdentifier = @"Cell";
UITableViewCell *cell = [tabl...
Hi, i have a application that will have multiple uiviewcontrollers, the navigation in the application is not in a hierarchy, the controllers should all be able to be invokedon a need to be displayed basis.
What is the best way of modeling this kind of flow?, using UINavigationController?, or AppDelegate for switching viewcontrollers? et...
Hi, could anyone help with loading dictionary objects correctly into the array.
Loading of plist into dictionary object works fine, and I was able to output some of it into command-line.
Problem is that this way of loading bundles each Name and Price sets into same cell in the array.
IE:
Is it possible to load them separately? Or perh...
In my tableview, I load a custom cell from a nibFile:
customCell = (cellReponseCircuit *) [tableView dequeueReusableCellWithIdentifier:@"cell"];
if(!customCell)
{
customCell = [[[NSBundle mainBundle] loadNibNamed:@"cellReponse" owner:self options:nil]lastObject];
}
customCell.reponse...
Hi there,
I have an app that allows you to take a picture, adjust the jpeg quality size (10-100%) and then send it to a server using ASIFormDataRequest (part of the ASIHTTPRequest implementation). This works fine over a network connection, but over the celluar network it appears to sit there for 5-10 minutes attempting to transmit the i...
I had a view called HomeViewController.xib which I deleted. Now, for some reason that view is still being loaded when the application starts. How can I set a different view to be displayed when the application starts?
...