iPhone App Distribution
Hi, is it possible to distribute an App via the App Store for free, in which You can only log in if you are using an extern charged Service ...
Hi, is it possible to distribute an App via the App Store for free, in which You can only log in if you are using an extern charged Service ...
NSData *data = [[NSData alloc] initWithContentsOfURL:url]; Url is an NSURL and it works fine. However I'd like to get the HTML (data) after I've logged in. So the website has a standard way of logging in with 2 textboxes and a submit action on the form. So how can I log in then get the HTMl source so I can parse it. Do i have to use ...
Hi, using iphone sdk 3.0 can someone say how to format a UITextField or UITextView so that when the user enters a phone number it will be formatted the way the contacts application formats the number ie +1 (888) 465-375 How to do this? Thanks ...
I'm interested in learning Objective C for iPhone development. This is a topic which I realize has been covered to death. The qualifying difference is: I'd like to start learning beginning with the latest version (the most recent iPhone OS as of May, 2010 is ver. 3.2 and 4 beta is also out). I'd like to not have to wade through or unlear...
During inAppPurchase, the storeKit will ask the username and password even though i set... [[UIApplication sharedApplication] setStatusBarOrientation:UIInterfaceOrientationLandscapeRight]; It ask Username and password in Portrait Mode... In general How to solve this kind of issue. UPDATED : But the InAppPurchase message on successfu...
hello, i want to add a 414 X 210 size view to an alert view instead of a normal alert view display. I used MyTicketAlert = [[UIAlertView alloc] initWithTitle:@"NEW TICKET"message:@"Ticket Generated Successfully\n GOOD LUCK!!" delegate:self cancelButtonTitle:nil otherButtonTitles:@"OK", nil]; [MyTicketAlert setBackgroundColor:[UIColor...
I've got a modal view controller that is being displayed using UIModalPresentationFullScreen with the TransitionStyle set as UIModalTransitionStylePartialCurl. This works beautifully. My problem is that when the device is rotated, my view rotates (as intended), but the "curl" effect does not. Does anyone know if this is by design, o...
I'd like to do something when a particular tab appears. Meaning, the user has clicked the tab view's tab button. viewDidAppear doesn't fire when this happens. How else can I hook into the tab click event? ...
I have a bunch of functions which returns commonly used UIViews in my application, e.g. + (UIView *) getLikeRow:(CGRect) frame ofType:(LikeType) type So far I've been using static methods for that, but recently I also noticed the sharedManager concept. Now I'm wondering if I should rather use a sharedManager for that. What are the di...
I have a class that conforms to UISearchDisplayDelegate and contains a UISearchBar. This view is responsible for allowing the user to poll a store of about 17,000 objects that are currently managed by Core Data. Everytime the user types in a character, I created an instance of a SearchOperation (subclasses NSOperation) that queries Core ...
I have a sound that needs to get played 10 times per second. The sound is 1 second long. So it does overlap like 10 times. However, as far as I understand the Finch sound library, I would need 10 different instances of a sound in place so that I can play it 10 times at almost the same time. When I have just one instance, the sound would...
The method: - (MKAnnotationView *) mapView:(MKMapView *)_mapView viewForAnnotation:(AddressNote*) annotation is called each time a pin is plotted on a MKMapView. Is there anything called once all pins have been plotted? ...
I've got the following line of code in one of my Objective-C methods: if (self.rule.sunday == YES) { do some stuff... } The line produces the following compiler warning: Comparison between pointer and integer It's just a warning, so it's not life-threatening, but it's driving me nuts. Clearly there is some basic concept about integ...
I have an app with tabs and navigation controllers. Everything works great except a UIActionSheet. I even have a UIAlertView taht shows fine in the same controller, but the action sheet doesn't show. The screen goes dark, like it's showing, but no view. Here's the relevant code: UIActionSheet *actionSheet = [[UIActionSheet alloc] in...
I'm working on a new app that I want to be universal for the iPhone and iPad. I started out with the "Create a Window-based app" wizard, and it created separate app delegates in "iPhone" and "iPad" groups. Since I already was quite familiar with iPhone dev, I did that part of my project, and now I'm ready to do some iPad stuff. So... I...
This is the body of the selector that is specified in NSThread +detachNewThreadSelector:(SEL)aSelector toTarget:(id)aTarget withObject:(id)anArgument NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; while (doIt) { if (doItForSure) { NSLog(@"checking"); doItForSure = NO; ...
In ClassA: - (ClassA *)initWithID:(NSString *) cID andTitle:(NSString *) cTitle { ClassAID = cID; ClassATitle = cTitle; return self; } In ClassB: - (void)cellDidSelected { ClassA *classAController = [[ClassA alloc] init]; //Program received signal: “EXC_BAD_ACCESS” when executing the following line. classAControll...
I have two view controllers.MainViewcontroller has the - (void)accelerometer: method in it and just another SecondViewController. I would like to pass the accelerometer data from the main to the second but I don't know the correct way to pas it. (void)accelerometer:(UIAccelerometer *)accelerometer didAccelerate:(UIAcceleration *)accele...
I make my own UIImageView, like this: @interface MyImageView : UIImageView{ } And I have the initWithFrame like this: - (id)initWithFrame{ if( ( self = [ super initWithFrame: CGRectMake(0, 0, 175, 175) ] ) ) { UIImage *img = [UIImage imageWithContentsOfFile: [[NSBundle mainBundle] pathForResource:@"myImage" ofType:@"png"]]...
I have a problem with rendering to texture and offscreen framebuffer with OpenGL ES on iPhone. First image shows mahjong tiles rendered to CAEAGLLayer directly and this is correct. Second one shows tiles rendered to offscreen framebuffer, copied to texture using glCopyTexImage2D and the texture rendered to CAEAGLLayer. Both use white ...