iphone-sdk-4.0

Entities missing from Core Data sets when using pre-populated data files?

Hi all, My application has two parts; a data importer part that takes a text file and creates Core Data objects from the data and then "saves" the data file (in this case, nutritional information for different foods). The data file is then used by the app. The issue I'm running into is when I go to list the contents of a relationship,...

Location Services enabled for specific app?

Is there any way to determine whether location services have been disabled for a specific app? The problem is that [CLLocationManager locationServicesEnabled] returns YES even if location services have been disabled for a specific app... ...

How to upload video on facebook using iphone sdk 4.0?

Hi All, I am trying to upload video on facebook. But my code is not working:--- FBRequest *m_UploadRequest = [[FBRequest requestWithSession: _session delegate: self] retain]; NSURL *videoUrl=[NSURL URLWithString:@"http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4"]; NSData* VideoFileData = [NSData dataWithContentsO...

Change to brightness of screen in iPhone

Hello, I am developing an iBook like application where user can change the brightness of the app by selection value of UISlider. I have done googling but I found the method GSEventSetBacklightLevel(1.0f); and this is undocumented and private. So I can not use this method in application. Please help me to provide brightness functiona...

Associating a marker (dot) with calendar control

Hi, My Application requires the calendar control and i had downloaded the custom calendar control from the below given link. http://blog.webscale.co.in/?p=244 Now the thing we want to do is put a dot in the tile for the dates which has some data associated with it. How can I implement it using the above calendar? Please Give Your Sug...

Question about naming conventions for Cocoa/Objective-C for iPhone (with respect to release and autorelease)

Can you describe the naming convention difference between a method that returns an object it has allocated for the caller (and that the caller should release), and a method that returns an autorelease object? ...

iPhone Question about properties

If you declare a property with a retain attribute, do you need to release the property before you set it to nil? What does the @synthesize directive do? ...

How can I make the iPhone 4 LED light fire instantly?

I'm currently using the below code to turn on and off my iPhone 4 LED light and it's working great, but the only problem is that every time I turn the LED on there is a slight delay. However it turns off instantly. I need it to fire instantly to implement a strobe like feature, and because it's just more convenient. I've noticed that in...

How can I implement a strobe light on my iPhone 4

I would like to implement a strobe light on my iphone 4 I already have the code to turn on and off the LED. I figure I should use an NSTimer to repeat the method that turn the light on and off, also i figure i would use a UISlider to change the rate at which the strobe flashes. I just need to know what the best way to implement the str...

upload plist file on server in iphone

hi, i have created a plist file other than the default one that exists. Can i upload this plist file onto the server I tried ASIFormDataRequest. I was able to upload the image and text file but when i try it with plist it throws error at point shown in bold: Code: networkQueue = [[ASINetworkQueue queue] retain]; NSString *filePath =...

Chanign color of UITableViewCellAccessoryCheckmark and UITextField

Hi, I want to change the color of UITableViewCellAccessoryCheckmark and UITextField background color where we type. I found this is not straight forward. Please help me. Thank you. ...

source code to integrate video support for H.263,H.264,MPEG4 in Video conferencing

Hi, I want to implement video conferencing functionaality in iPhone SDK..... For this VMobile Mobile Video Conference Call Specification: --- for Video support we need : 1. H.263 2.H.264 3.MPEG4 Can u suggest any source code to implement the above video cpmpressing technologies in our application ...

Can I download and run XCode & Apple iOS 4.1 on Apple Power PC G5?

I am new and want to start developing apps for iPhone, but I can't afford the high price tag of one of Apple's Intel machine right now, can I start developing iPhone apps on Apple Power PC G5 or Apple MacBook Pro with Intel? Thanks for your help ...

How can I update my NSTimer as I change the value of the time interval

I have an NSTtimer implemented and it's working fine. I also have the time interval argument connected to a UISlider for the iPhone. However when I change it's value the NSTimer is still running at the original time interval it does not get updated. How can I implement an NSTimer and have it change it's time interval as the value of my U...

How do I get an app to show up in the Application Loader?

I added a new App ID and distribution profile then went to iTunes Connect and added a new application from the Manage Application link- Uploaded screenshots and the icon. So what else do I need to do to get the app to show up in the Application Loader? ...

How can I update a UILabel as I slide my UISlider

I have a UILabel and a UISlider in my app and I have it hooked up in a way that when the user changes the value of the slider and then let's go, the UILabel gets updated with the new double value. I need to know how to update the label as the user slides the slider and not only when they let go. ...

Possible to transfer PDF from iPad to Computer

Hi, I am working on a enterprise level application for the iPad which has a number of functions that have already been implemented into it. Currently the application is able to generate a PDF using Quartz 2d and send that PDF to a given email without problem. I have come to a part of the application (feature request) that I am currently...

Application Delegate Error while integrating Calendar control into my app.

Hi, In my app i need calendar control so i have found out a calendar suitable for my app on the link below: http://blog.webscale.co.in/?p=244 Now i want to integrate that in my project so i am referencing the project into my app but it leads to a crash and console shows exception that unknown CalendarAppDelegate. What should I do? ...

Why are my iAds not showing up in my approved app

I realize that this isin't a programming question but I know that a lot off people here are iOS developers so i'll just ask anyways. I had an app approved about 8hours ago, during development my iAds were working fine and I was receiving test ads in the simulator and on my iPhone. But I've downloaded the official version and so have a f...

Search text in html files - iPhone App

Hi I am making an iPhone app for an ebook with ebook data in html files. I have to implement search text functionality for ebook data, book size is fairly large. Can somebody please suggest me recommended practice for searching text in large html files - keeping in view performance and other constraints in iPhone. Thanks. ...