I've implemented Facebook Connect in my app just like the sample app that Facebook provides and it works well. After a user chooses to share data via Facebook they are taken to a new view and presented with the FB login dialog. When the user is done they exit the FB sharing view and return to my app's previous view. The user stays logged...
This has me stumped. I'm trying to figure out how to save the state of a UIScrollView. For example, I have several images in a UIScrollView that are loaded like so:
NSUInteger i;
for (i = 1; i <= kNumImages; i++)
{
NSString *imageName = [NSString stringWithFormat:@"image%d.jpg", i];
UIImage *image = [UIImage imageNamed:image...
I have designed an iris shutter animation for a camera view in an iPhone app.
Unfortunately, it seems impossible to hide Apple's shutter when the view appears, even if I hide the camera controls and create a custom cameraOverlayView.
I have gotten around this by animating my shutter on top of the normal shutter when the view appears, u...
I have a subclass of UIView that draws a number with a border around it using Core Graphics (unread count style). I have this in a UITableViewCell and change the color of the border when setSelected:animated: is called. The problem is that it does not animate the change.
Is there any way on the iPhone to animate the change of Core Graph...
Hi there.
I am creating a project in which i have to change the main.m file, so that UIApplication doesnt appear straight away, so i deleted the following line from main.m
int retVal = UIApplicationMain(argc, argv, nil, nil);
and deleted these lines from AppDelegate
- (void)applicationDidFinishLaunching:(UIApplication *)application ...
Hi, I made a physics arcade game (with a metaphorical twist!) called Enlightenment Vision, and I see it available on iTunes, but when I do a search for "Enlightenment" on my iPod my app isn't shown.
I didn't get an e-mail from Apple announcing its launch though, which is strange. (I got one a few days ago for a naming inconsistency in t...
I'm working with an intermediate join table in Core Data similar to the friends example from Apple's Core Data Programming Guide. Sorry, can't post pictures yet due to no reputation points. Its a friends entity with relationships to FriendInfo intermediate join, with relationships of friends and friend info. The following link describes ...
I'm using PhoneGap 0.8 and I'd like to detect a basic shake gesture. I've found two relevant snippets:
http://groups.google.com/group/phonegap/browse_thread/thread/25178468b8eb9e9f
http://phonegap.pbworks.com/Handling-Shake-Events
Neither of them are working for me. Unfortunately the documentation seems a little outdated and the API r...
Hi all,
I have used addressbook framework in my application.I want to allow user to edit and delete cotacts from my application.Which notification get generated when user edit the contact,also how to use delete functionality of addressbook framework.
...
I've got an app that I want to be able to use Custom URL schemes for. I want users to be able to open Tweetie using the Custom URL protocol however I need to populate the tweet with dynamic website link which I get using currentItem.link.
I found this code which launches Tweetie and populates a message with static information:
NSString...
Hi there --
Would appreciate some insight isolating this, some semi-repeatable crashes in an iPhone app of moderate complexity ...
The crashes in question occur (sometimes, though not consistently) when pressing a UIButton on a particular screen within the app.
(Not sure yet, though the issue may be manifesting itself more under lower...
Hello folks,
I was looking for some YouTube API implementation on iPhone but couldnt find and good resources.
I just want to know how to initialize the connection and call the function to display the list of youtube videos.
Can anyone help me out...
Any code will be very helpful...
Thanx in advance...
...
I've encountered a strange occurrence when I pass a long long value back from a method call. In my app I've already worked around this but I am curious to know why this is.
Can someone explain to me, when I have a method as defined:
- (long long)testLong {
NSString* longString = @"100000133597162";
long long retval = [longStrin...
Hi,
I have created iphone application to play some video files. I kept all the video files in application bundle. I want to know that what is the upper limit of resource size that we can put on resource?
In my case the total video file size is 500 MB. Is 500 MB is ok with iphone application?
Thanks,
Jim.
...
Hi..
I am opening a text file containing language data and reading it into a dictionary. The code retrieves all the data, but I can`t get the encoding right. Characters in the text file like for instance "Â" gets translated to "√Ç" instead of "å".
I`m starting to get really annoyed by this problem, and i really appreciate if someone c...
I want to know that it is possible to get event name from datepicker like if i select 25 december and get christmas as event name etc.
...
I'm developing an iPhone application where I wish to authenticate (login form) on a site and retrieve some information by doing some screen scraping. Is there an API available to do this or documentation how I could do this?
thanks
...
I am doing a program involving a database. I have a query that will fetch all the data from the table.
But I want to traverse through each record and get each column values of each record.
For that, we usually use a ResultSet. But since I am a beginner in SQLite, I dont have any idea on how to do this? Do anyone have an idea?
...
i want to encoding string in to the chiness language and koren language how it possible?
...
Hi all developer,
I have a UITextView, user can write maximum 160 character in the textView.
How can i fixed the maximum text length of a UITextView?
...