I'm looking for a way to create a new Calendar on the iphone device programatically. I have been looking at Event Kit and it clearly states how to create a new event in a calendar and there is also a convenient way of gathering all the calendars in code, What I can't find is how to create a new one that is saved to the device.
Any ideas...
Hey everyone, this seems like it should be a simple one; I really hope it is. As always, thanks in advance!
All I'm trying to do is add a background image to a grouped style tableview. I'm using the following method in viewDidLoad:
self.tableView.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"background.png"]]...
i have this
cell.selectedBackgroundView = [[[UIImageView alloc] initWithImage:[UIImage imageNamed:@"Travelheader.png"]] autorelease];
//cell.selectionStyle = UITableViewCellSelectionStyleNone;
cell.backgroundView = [[[UIImageView alloc] initWithImage:[UIImage imageNamed:@"SuperCell.png"]] autorelease];
but when user click on any ...
So i have an app thats about to be submitted with an iAd banner in it. Just wondering what this means in terms of fee's (for me) and revenue.
Im assuming Apple tracks this info and adds it to my account accordingly.
...
I have entities Word and Tag. Both have To-Many relationship to each other, as well as inverse. The way I need to constrain it that:
if I delete a Word then only the related Tags which has no Word pointing to them will be deleted
if I delete a Tag which has Words pointing to it then just nullify those set items.
Is it possible to mod...
I'm trying keep xcode chaos under control. Namely, how to reuse my small components/classes between projects. One strategy is to make every class, or tightly coupled collection of classes, in to a static library, each being a spawn of a different sub project with a few targets like unit tests, demos, and, of course, the library.
The wa...
I'm storing text in a sqlite file and setting the text of a UITextView to be the value of that text. The only problem is that the UITextView isn't honoring the newline character. Instead, it's printing it out as text. Here's an example:
Stored in fruit.sqlite and passed to theFruit object:
requiredFruit = "apples\n oranges\n pears"
...
I'm trying to put a button in my iPhone app that will move the user to the appStore and list ALL of our apps.
This wastes time loading safari... then the music store... then the appStore:
itunes.com/apps/OurCompanyName
This tries to load Music Store... and never reaches the app store at all:
itunes.apple.com/us/artist/OurCompa...
Currently, my Iphone application is not released yet. When I worked with the simulator/device and I modify my application to add more cache into the encodeWithCode: and initWithCoder: . The problem is that when the application is loaded, I tried to use some of the encoded object which is not existing before. For example:
In the previous...
I have an active 3G iPhone. I do most of my testing on it.
I have an old G1 iPhone from a friend. It has a SIM but no active account. It shows "please connect to iTines" logo. When I do, iTunes asks me if I want to set up a new AT&T account or if I want to transfer one from a different phone.
I want to test my app on this older device....
I have imported the pdf.h file in my view controller class and tried calling NSString *outPutString = convertPDF(pathToPdfFile), but while building it gives me linking error:
"_convertPDF" refrenced from: -[ScriptViewController searchBarSearchButtonClicked:] in ScriptViewController.o Symbol(s) not found
I have also included libz.dylib ...
I hope everyone knows that there is this web based jailbreak at jailbreakme.com
I was initially skeptic but it worked on my iPod touch.
Can someone explain how it works ? How can a website jailbreak my hardware ? Is it like some virus which affects our computer when we visit certain websites ? How can it execute a program on my iPod to...
I have a navigation controller-based app in which I would like to temporarily disable the navigation controller (top left button) at a certain point in the app so that the user can't get out of the view while I'm uploading a file. Is there a way to disable the "back" button so that users can't get out of the view?
...
Anyone know where these are? I want to play with them. Specifically I need the UIBarButtonSystemItemAdd.
...
Hi. I'm using an mkmapview and dropping pins on to it. I would like the pins to fall one by one, rather than all simultaneously. Originally I was calling
[self performSelector:@selector(dropPin) withObject:nil afterDelay:dropTime];
where dropTime was a different delay for each pin, and dropPin was a method to make the pin drop. Unfort...
I have a scrollview that contains a tableview and some other componinets, some buttons and labels. However I cannot figure out how the following two questions are addressed:
I know how to disable the scrolling in the tableview. Nevertheless, can anyone tell me how to expand the tableview programmatically so the hight of the table view ...
Questions similar to this have been asked all over, but I haven't been able to find a solution to my specific problem, so here goes.
I have a UIViewController with a UIScrollView in its view. Within the scrollview, I have a number of regular uiview subviews. I want to be able to detect whether the scrollview swipe was with one or two fi...
How do I sort Unicode (foreign) strings in my iPhone application?
...
Greetings... I come in peace, shoot to kill...
I have a container of type UIView (A Grid) and add many sublayers to the layer of the UIView (CALayers representing cells within the grid).
Within the Cell, I render many UIImages at different locations using CGContextDrawImage. I am well aware of the need to Translate and Scale, but the s...
I have a UIToolbar in which I have placed a UIProgressView successfully. However, I have seen some apps contain a small label above the UIProgressView which tells the user what the program is doing where progress is being made -- e.g. to download a file. However it seems that this cannot be done in UI Builder. Any ideas on the best way t...