iphone

executable was signed with invalid entitlements ?

HI,all I am trying to install an app in the iphone using the adhoc build configuration for this i have made all the things first i created the app id that is enable fort he APNS and then create the profile and certificates and than i download to my system and then in the project i have made a plist name Adhoc_Entitlements.plist and in t...

UIDatePicker Localizatiion Problem.

Hi, How to Localized UIDatePicker according to language selection from the application. UIDatePicker has locale property so how to use please give idea. Thank You. ...

iPhone: Encrypt Nsstring using AES 128 and Decrypt

Hi all, I am new to Encryption/ Decryption. I want to encrypt a NSString variable value using key. Also I want to decrypt the encrypted data . I want to apply AES -128 Algorithm. Please suggest sample code or useful link. ...

Date comparison Iphone

i have a range of weekly dates like example 1-5-2010 to 7-5-2010 i want the only records which are between two dates how can i compare dates? and how can i get current week dates.. from current dates...? thnx in advance.. ...

Rating the Application in iphone

i am trying to build a ratings alert inside my iPhone application which I want to make it look similar to the alert view, when the application is going to be delete.But i would like to make the rating by pressing the button it should send my rating to the itunes. is it possible? Thanks in advance! ...

How can i use Table Cell as UIImageView not using Custum Cell?

In My Application I have to show Image after every 3 Rows.My Image is static and it should come after every 3 rows.I don't want to take UIImageView and add it to cell but if there any way to show my image using directly Cell's property.My Image size is 320X87 pixels. ...

How to use NSImage hitTestRect:withImageDestinationRect:context:hints:flipped: METHOD

I want to use Nsimage instance method hitTestRect:withImageDestinationRect:context:hints:flipped: in Iphone . But the problem is that NSimage is in Appkit framework and Appkit framework is not for Iphone development. Can anybody help me to solve this problem? ...

I need help using UITableView Controller sub class. How should i populate the tableview with my values?

I am working on a view-based project. My first view is a UIView where i fetch my data. Then i add a subview to my window which is a UITableView. Now i am unable to populate my data to UITableView. Please help.. ...

Placing blue dot in mapKit with a desired location

For demonstration purpose, i need to simulate the user location in a Mapkit view. It seems that it is possible with an undocumented API to place the blue dot anywhere on the map view. Unfortunately, i don't know witch undocumented API to use ? Any help ? ...

UIWebView does not timeout (iPhone)

Application contains embedded UIWebView inside UINavigationController. Everything works fine - except just tried to open an ad with URL pointing to flash-only webpage. It's been loading that page now 22 minutes, so I suspect there is no automatic timeout? When looking at shouldStartLoadWithRequest, self.currentUrl points to flash-site, ...

How to draw NSString vertically on iPhone?

Chinese characters can be view horizontally and vertically. I want to let users have both options. How can this be done in an iPhone views? e.g. +-------------------------+ +-------------------------+ | Hello, I am a newbie. | | b a H | | | | i m e | ...

Build UITextview with Line

Hello everybody, Does anyone idea about how can create UItextivew with Line like so user can easily write text in proper format. please check this link https://devforums.apple.com/message/217857#217857 is this possible, i have no idea about this. Thanks you, ...

Is it even possible to change a UIButtons background color??

Hey, This one has me stumped. Is it possible at all to change the background color of a UIButton in Cocoa for iphone. I've tried setting the background color but it only changes the corners. SetBackgroundColor seems to be the only method available for such things. [random setBackgroundColor:[UIColor blueColor]]; [random.titleLabel s...

linkedin connectivity from my native iphone application

hello everyone i am new bie in iphone development i want to connect to linkedin from my native iphone application i am currently having no idea how to connect to it please guide me how could i do that ...

Core Data fetchedresultscontroller question : what is "sections" for?

Hi, I'm trying to get to know Core Data (I'm a noob at iPhone development) and in order to do this I'm trying to get an object from the fetchedresultscontroller and NSlog it's name (a property of the object). I tried to do it like this: NSArray *ar = [NSArray arrayWithArray:[fetchedResultsController sections]]; Task *t = [ar objectAtInd...

Error when creating an image from a UIView

Hi, I'm creating an image from a view whith the folowing code : UIGraphicsBeginImageContext(myView.bounds.size); [myView.layer renderInContext:UIGraphicsGetCurrentContext()]; UIImage *viewImage = UIGraphicsGetImageFromCurrentImageContext(); UIGraphicsEndImageContext(); UIImageWriteToSavedPhotosAlbum(viewImage, nil, nil, nil); The...

EXC_BAD_ACCESS in drawRect

Hi, The code below "sometimes" causes a crash (EXC_BAD_ACCESS) when run on the device. Never on the simulator. To reproduce it I keep overlaying a modal view controller over my table view controller. It usually happens when the modal view controller is dismissed. Any ideas why this happens? CGContextRef context = UIGraphicsGetCurrent...

Step-by-step guide of Mercurial for iPhone projects?

I am looking for a step-by-step Mercurial guide for iPhone projects. Please assume: hg already installed the audience is comfortable with command line operations everything is on OS X As a newbie, I am particular interested in: what files should be excluded how to exclude above files guideline/suggestion of naming builds any rel...

Object allocation and memory warning

i have an application which takes "live bytes" up to 3mb. The application showing memory warnings and it will crash continously. when i use object allocation tool i can see the live bytes.im using imageWithContentsOfFile in many places. i can see NSConcreteData object is taking more momory.what is the reson for that? may i know how much ...

iPhone development: How to implement HTTPS connection?

Hi all, I am working on an iPhone project which need to connect to the IIS server over HTTPS or SSL protocol. Can anyone tell me how to implement HTTPS connection in iPhone? Any advice would be appreciate. Thank you in advance. ...