Hi all I am using below code to create an event :
EKEvent *oneLabEvent = [EKEvent eventWithEventStore:eventStore];
oneLabEvent.calendar = eventStore.defaultCalendarForNewEvents;
oneLabEvent.title = [ddEvent valueForKey:@"ddname"];
oneLabEvent.allDay = NO;
oneLabEvent.startDate = [ddEvent valueForKey:@"startDate"];
oneLabEvent.endDate ...
Say I have a string:
NSString *state = @"California, CA";
Can someone please tell me how to extract the last two characters from this string (@"CA" in this example)
...
Hey friend ,
I have problem with AVAudioPlayer in iphone when ever the my ipod is lock(sleep) the song is stop.What I have do in coding for making music is continueslu start even the ipod is lock(sleep) .
please help me
I am totally new in this .
...
Hi Forum
I have a uiscrollview with tons of buttons in it.
What I need to do is show one of these buttons at the center of the screen.
When I use scrollRectToVisible (passing the button-frame), the scrollview indeed shows the button - but sometimes at the top-left corner, sometimes at the bottom right corner - apparently depending on w...
Still working my way through this program. Next task on my to-do list is selecting random words from a pre-generated list. I've got the randomisation code sorted, but I now need to know the best way to store and retrieve words from my big list (and it is a fairly big list - over 220 words).
Since I'm designing for iPhone, memory is a pa...
I have a root view that contains several subviews("groups") that contain several subviews inside of them ("group elements") (so every subview of my root view "groups" a set of UIViews).
I want to be able to drag out each group element out of a group and get its "absolute" coordinates (i. e. position of the element expressed in root view'...
Hi,
I was wondering how it is possible to capture what's shown in the iphone screen while playing a video game.
I know that this can be done and that there have to be special programs for this since there are many sites out there that present a video review of iphone games.
Thanks for the help!
...
Hey all i've tried to add an other view it work properly but it look like a tableview I want it just like the first one how can i change the view to be like what I want not tableview
btw this is my flip button code :
- (IBAction)flip:sender{
// create a new SecondViewController
SecondViewController *playback =
[[SecondView...
Hi All,
I will explain my question from an example.
In .H file//
@interface Employee:NSObject{
@private
NSString *name;
}
@property(nonatomic,retain) NSString *name;
in .M file//
@implementation{
@synthesize name;
}
In this scenario when i access the name property within another class , like myEmp.Name = @"John";
it doesn't...
How can you "gray out" (overlay a gray view w/ alpha ontop of the UIStatusBar) on the iOS exactly like when a UIAlertView displays. I know that it's possible and that Apple allows it since Twitter (official Twitter app) and a few others implement it. I think you need to add a new window ontop of the current window or a full-screen view
...
Is there is way to integrate PayPal in iPhone native app.
...
hey all i want a code the replace whitespaces by a + sign in objective-c
...
Hi, I'm having some strange behaviour ocurring when I try to run my Iphone app without using Xcode. If I run it by choosing Build & Run in Xcode it runs just fine, but if I do it by disconnecting the USB cable and tapping on the app on the Iphone, it crashes, yielding an unhelpful crash log.
Is there any difference between these 2 scena...
Hi to all,
i have created a music application in which there are 90 songs.when i click on a particular song it plays. i need that when i click on a particular song it should switch to next song automatically when the current songs completes.Please help me in solving this problem
...
Is ther any way to perform a runtime check for the iPhone device at runtime?
It has to be able to differenciate iPhone 4 from other iPhone/iPod touch models.
Any workaround that does the same thing is OK too.
...
So I have an textView and need to have the same control over it as a regular textField.
I am quite new to iPhone-programming so please be nice to me. :)
What I need is functions like:
textFieldDidBeginEditing
textFieldDidEndEditingWithoutText
How can this be done?
...
I need to know how I can access my calendar and contacts from my iPhone from my own App? Is it possible?
I need it because I created a stats App and need to know how many contacts and calenders posts the phone has.
...
Hello. I've looking around for a way to change the background image of my NavigationBar and control the appearance of my NavigationBar as the user navigates the app. I've been looking around and it appears the accepted approach for changing the background image is this...
@implementation UINavigationBar (UINavigationBarCategory)
- (v...
I am trying to display ads from AdMob.
I've tried to follow the standard instructions for implementation. However, I am receiving this error message and no ads display.
AdMob: Did fail to receive ad in AdViewController
Can anyone help?
...
how is it possible to tag an iphone cell in order to be able to use in a selected favorite table view. i want to be able to tagg the cell and its remaining content in order to be able to display it properly inside a new table view under a different view controller.
...