iphone

UIActionSheet problem with FBConncet {iPhone SDK}

hi everyone . i implement FBConnect for my app via UIActionSheet with 2buttons . my buttons are "Share On Facebook" and "Log out from facebook" . so i want when user click on share on facebook button FBLoginDialog shows and user log in to facebook with his account and then show FBStreamDial appears and user share something on his wal...

Is it possible to get information about the operator on iPhone?

Hello! Is it possible to get information about the GSM operator from an iPhone? ...

Statusbar orientation changes after dismissing modal view

My statusbar orientation is landscape, I have a cocos2d view that only supports portrait orientation(it is OK since it handles transformations). I have another view that is presented as a modal by cocos2d controller, its orientation is landscape, but whenever I dismiss it, my statusbar orientation somehow changes to portrait, I tried ove...

Crypto Liberary for Iphone, BlackBerry, Android and .Net

Dear Gurus We are working on a application suite with support of windows(.net), Iphone, Android and Blackberry and all these application shares the same data (syncs with a wcf services). Whenever a device ads a new record, it encrypts the data and and saves in the local database and on sync it post the record to server as it is. Now...

Do I need to uninstall and reinstall xcode once I have gotten my certificates?

Oh my god!!! Getting Xcode to work is turning out to be one of the most challenging things of my life so far! Please answer this one question: I downloaded the SDK before getting my certificate and I have created some practice apps following along with the iTunes University. I thought you could do all this without a certificate, but I...

NSLocalizedStringFromTable crash

I create a UIActionSheet with button texts from a txts file. After I set NSZombieEnabled, NSDebuEnabled to YES and NSDeallocateZombies to NO, I get a breakpoint with the message: * -[CFString isEqual:]: message sent to deallocated instance 0x11fae00 This happens after showing for the third or fourth time the UIActionSheet, not imm...

iTunes integration.

can i access the iTunes library of the iphone device in my app. if yes, then can u point me in the right direction. ...

NSFetchedResultController and UISearchBar implementation

Hey! I'm creating a simple Navigation-based app using core data for my iPhone and I'm trying to implement a little search. The app is baed on the "Navigation-based application"-template from Apple. The NSFetchedResultsController gets all the objects and they will be displayed in the table view. I've also have left the Plus button to add...

Table View Populating all cells with last xml entry iphone

Hi, Im trying to parse XML (which seems ok) and populate a Table View on Iphone. I'm working from apples siesmec examples. My XML looks something like this and has about 10 entries going from artist1 to artist10 <promo> <id> 42 </id> <artistname> artist1 </artistname> <img> http://address.com/avatar_42.jpg </img> </promo> If I put in...

Want to display and implement rating as in ipod app

I want to display and implement the rating in the way apple does in the ipod app. Can anybody tell me how it is done. The code that i want to implement is to be written in a viewController. Thanks in advance. Providing the code would be useful. I am drawing the image in the implementation (.m)file of my UIViewController subclass inside...

Drawing custom cells which come into view when scrolling

I've implemented ABTableViewCell because my iPhone application had a hard time scrolling a tableview with custom cells. Everything is working fine and dandy, except for one thing and I can't figure out how to solve it. The UITableView gets its data from an array of parsed XML elements, this data is then fed to the CustomCell by my RootV...

NSFileHandle weird problem with iphone

Hi , i am downloading an mp3 file using NSURLConnection and saving it to a file . The problem is mp3 file is created (found the mp3 file created when using simulator), but i cannot access the mp3 file . Any ideas?!!!!! This is the code i'm using filename = [[NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMas...

Detecting HTML code in XML file in XCode (iPhone)

There's this XML file for an RSS feed which has a body: <description> <div> <img width=120 src=&#039;http://enjoythebest.ph/photos/news/150/57_1_100204125514.jpg&amp;#039;&gt; </div> <![CDATA[Hey come to Manor tomorrow night yo! featuring performances by BEATPHONIK X ADDLIB with KABAYAN KRUMP MOVEMENT an...

VoIP over 3G on iPhone, what's changed in the SDK??

Hi, I've been looking at the SDK3.2 to find out about the new capacity to direct call over IP on 3G network, but I don't see anything obvious in the API diffs. Is this just something Apple allows on a low level private framework or does it reflect on the public frameworks as well? if so, which framework, class, method? thanks for you h...

How to plot multiple location in google maps using url address?

As title, how to do that? to get the direction of two point we can do like http://maps.google.com/maps?saddr=40.1212,22.333&amp;daddr=40.222,22.333&amp;z=17" then how can i plot multiple location using this method by URL address? ...

How to compare two date?

I have three dates: (1) previousDate (2) currentDate (3) nextDate, I want to check whether currentDate is later then previous date and earlier than nextDate. How do I do that? ...

Banned 3rd party private APIs for in App Store approval process ??

Hello , I am just about to finish my first iPhone application. I have heard of apps rejected for the use of some private APIs . I am also using some private APIs like ASIHTTPRequest , MBProgressViewHUD. So tell me are these or any other private APIs that are rejected for which I should make sure not to use them now or in future appli...

Display CFUserNotificationDisplayAlert on iPhone Lock Screen

I m creating an app that has to display CFUserNotificationDisplayAlert even if iPhone Screen is Locked, currently i am using this code CFOptionFlags responseFlags = 0; CFUserNotificationDisplayAlert(20.0, 3, NULL, NULL, NULL, CFSTR("Hello"), CFSTR("Hello World"), CFSTR("OK"), NULL, NULL, &responseFlags); This works great on Home Scree...

Rotation and resizing the image + iPhone

Hello , I am trying to resize and rotate an image over the iPhone. i picked the image and displayed it using UIImageView and rotation of the image is done by two buttons (for clockwise & counterclockwise) resizing of image works fine while rotation button not pressed but when i pressed to rotate image into clockwise direction and the ...

Setting a subview in UIViewController

Why can't i just set self.mySubView = anoterhView; like one can set self.view = anotherView; ? ## .h @interface TestController : UIViewController { IBOutlet UIView *mySubView; } @property (nonatomic, retain) IBOutlet UIView *mySubView; ##.m @implements TestController @synthesize mySubView; - (void)viewDidLoad { AnotherCon...