Greets. A somehow detailed explanation on my problem, and what I have already done, and what I cannot do.
I want to create a behavior resembling the one in the iPhone's keyboard. Basically, I want a view to appear when the user taps a button and WHILE the user taps that button.
This, I accomplished.
When the user lets go of the butto...
Any idea why
//should save the object context.
NSError *error;
if (![managedObjectContext save:&error]) {
NSLog(@"SAVE ERROR");
}
when implemented in a view controller(accessed via a drill down tableview) won't properly save the information? I am passing the moc from the beginning (rootview hands off to tableview, tableview r...
The three other UIControlStates are clear to me, but I cannot understand the purpose of UIControlStateSelected. What/when does a UIControl subclass enter this state?
...
In which situations would I want to call -processPendingChanges of NSManagedObjectContext?
...
hey guys,
I am testing my app on my jailbreaked iPhone and i noticed something strange.
When i want to uninstall it on device i got no cross to delete the app. All the other apps (not mines) have the white circled cross.
Whereas on the simulator i am able to delete my app.
Is it because i run it on a jailbreak with a codesign workarou...
Hi all!
I wish upload a file into my iphone app via ftp ( wifi connection on iphone) like some program as airsharing or iFiles..
which are the first steps to do this??
thanks in advance
...
I am trying to make a little ball that rolls around based on the accelerometer values in the iPhone.
This code will not build:
-(void)accelerometer:(UIAccelerometer *)accelerometer didAccelerate:(UIAcceleration *)acceleration
{
if(difficulty == @"Easy")
{
CGFloat newX = (CGFloat)(ball.frame.origin.x + (CGFloat)acceleration.x);
CG...
I am creating my first iPhone app which rotates when the user rotates the phone. I have a bit of a weird problem. I have a label with some text in it and when the screen rotates the text sort of deforms. Once in the new position it looks perfectly fine. Has anyone had this problem? I am just using the regular way of shouldAutorotateToInt...
Hi,
I'm currently building some application-tests for my Iphone project where I would like to automate the displaying of all view controllers step by step.
The problem I think is a bit tricky and could be solved by allowing the test suite to run a thread but this I guess does somehow not work here since the application gets shut down ...
Now that 4.0 is public, I can edit this question and ask it again.
This code works in 3.2 and any prior versions, but in 4.0 I get an alertView saying "This movie could not be played".
ivar webView
//in viewDidLoad
self.webView = [[UIWebView alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame]];
webView.scalesPageToFit = YES...
Is there any movie that actually works in iPhone/iPad safari using the video tag? We tried so many formats and code snippets. I've heard that mp4/h264 should work, but not for us.
Can anyone point me to a working example online?
If you know the code or specs/formats for the videotag on iphone, that would be great.
Update:
Here is a l...
i will be getting a iphone 4 but was wondering if i can still use my iphone 3g to test on?
...
Is it possible to set a minimum rotation value necessary for a UIRotationGestureRecognizer to transition into UIGestureRecognizerStateRecognized? I'm using multiple recognizers, and my UIRotationGestureRecognizer keeps getting called with a very small rotation (Between 1 and 15 degrees either direction) rather than my UIPinchGestureReco...
I have a website www.askvioletnow.com. I added a flash mp3 player that plays a sound clip when you go to the page.
I know Flash doesn't work on the iPhone OS, but is there a way to get this type of mp3 player to work on an iPhone? I'm thinking maybe a javascript mp3 player.
What I would ultimately want is to replace my flash mp3 pla...
For example, if i'd like to imitate UIControlEventTouchUpInside for Button1, when Button2 was clicked?
The reason why it isn't enough to addTarget: action:@selector() forControlEvents - is that it's necessary to get default highlight for example (glow effect)
...
Is there a way to have iPhone SDK 3 and 4b at the same time?
...
Hi there,
I'm having trouble with caching URLResponses to disk. I want that because the data i'm downloading needs reloading when the expires-tag in it's http-header is met, not earlier. Also, I want iPod touch-Users to be able to download the data once while online and then use it offline.
i'm doing this which works fine for caching t...
Hi,
I'm building a twitter reader into an app. I'm using the JSON framework library from Stig Brautaset (v2.2.2) to parse the twitter API. I'm seeing some odd results on certain messages. I know that the Twitter API returns results in UTF8 format. I'm wondering if I'm doing something wrong when reading the JSON parsed fields.
My code i...
I want to roll a beta test session for my iphone and ipad application with general public. Want to get some feedback before officially launching the app. Does anyone know of a a good community that I can tap into?
I found http://ibetatest.com via google but not sure how good/bad it is?
...
Hi all,
I am working on an iPhone view that has some header text along with a UISegmentedControl at the top and a UITableView beneath it. When a different segment is selected in the UISegmentedControl, I need a different set of records to be displayed in the UITableView.
What is the best way to implement this? Should I have one UITab...