I am writing an iPhone App that uses a HTTPS/SOAP service which needs user credentials. After I change the password used for these credentials from a valid to an invalid one I still get a valid response from the service, as if the password was never changed. When I restart the app (with the invalid password) the app immediately receives ...
Hi,
I am creating an application based on the Utility template. The main screen consists of a menu with several buttons, each of which creates a different flip-side view. In one of those flip-side views I also configured a Navigation Controller, which works perfectly as long as I have the NavigationBar activated... I can push the view b...
Hi,
I have two view controllers A and B. From A, I navigate to view controller B as follows:
// in View Controller A
// navigateToB method
-(void) navigateToB {
BViewController *bViewController =
[[BViewController alloc] initWithNibName: @"BView" bundle:nil];
bViewController.bProperty1 = SOME_STRING_CONSTANT;
bViewController.title...
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?
...
This should be an easy one -- when I use a CGAffineTransformMakeScale on a UIView with width and height = 0.5, it shrinks to the upper left. I need it to shrink around its center. What do I need to do? Thanks!
...
I was using the bundle ID with wildcard (com.mycompany.*) and all was working just perfect, but as it cant be used for InApp Purchases I had to make a new ID (com.mycompany.product) and create a new provisioning profile.By doing so I am not able to install the app on device through xCode, there are no errors while building, nor any error...
I have a custom UIControl that passes UIControlEventValueChanged events back to my ViewController. I also need to animate it (basic resizing) in certain circumstances, but UIControl seems to have no implementation of beginAnimations or commitAnimations. Do I have to encase it in a UIView? Any better solution? Thanks.
...
I'm not sure what changed on my ad hocs but I get this error when trying to install:
Application failed codesign verification. The signature was invalid, or it was not signed with an Apple submission certificate. (-19011)
Device debug builds fine. The cert that is associated with my ad hoc provisioning profile doesn't expire until 2011...
Hi , i use a UIPickerView in my root view of UINavigationController . And i used one button, when i pressed it, pass the data(shows in picker) to the next level view of navigation controller. How should i do this? Thank you!
And can you tell me the right way to manage data or share data among multi-viewControllers. Thanks.
...
Hi everybody,
I'm developing an aplication which send a few data from an iPhone to a external bluetooth module. I have been reading the information in this forum but I still don't understand how to use btstack in order to develop that app (if it is possible). I'm using xCode enviroment to develop it. So I was wonder if somebody has a ki...
I want a UITextView in cocos2d. I used in init method I wrote the code ,
UITextView *textView = [[UITextView alloc] initWithFrame:CGRectMake(0,0, windowSize.height/2,windowSize.width/2)];
textView.backgroundColor = [UIColor clearColor];
textView.text = @"I am First enemy";
[textView setEditable:NO];
[[[CCDirector sharedDirect...
Hi,
I used the setContentOffset method to scroll to a particular point automatically without user interaction.
[menuScrollView setContentOffset:CGPointMake(600.0,0) animated:YES]
but when i try to call the same method in a looping fashion inorder to slow down the speed of scrolling the scrolling never happens
for (int i = 1; i<=30; ...
I am resizing a control via
[UIView beginAnimations]
[self setTransform:CGAffineTransformMakeScale(0.5f, 0.5f)];
[UIView commitAnimations]
The animation looks beautiful on the iPhone simulator but on my 2G test device it is unbearably slow and choppy. How can I improve the animation on an older iPhone? Or do I have to disable animat...
The problem is this:
I put the simulator in landscape
I start the app
The app is unable to detect the correct orientation, always unknown!
I have created a sample project that demonstrates the problem I have.
Take it here
How can I solve that?
thanks
...
Hi all. Can someone please explain to me why this simple assignment doesn't work.
Here is the code
loanDetails.currency = myCurrency;
NSLog(@" Value %@",myCurrency);
NSLog(@" Value %@",loanDetails.currency);
NSLog(@" Value %@",myCurrency);
the output is:-
2010-05-05 23:00:44.394 ExpenseTracker[3576:207] Value ...
I have a view based app. Its self.view has several subviews and shouldAutorotateToInterfaceOrientation is returning YES.
When I rotate the device, all views rotate as expected.
Is that possible to prevent a subview from auto rotating even if the view's parent is auto rotating?
...
I keep getting an error "SQLite Step Failed: attempt to write a readonly database" when using this code to copy a database:
-(void)createEditableCopyOfDatabaseIfNeeded
{
// Testing for existence
BOOL success;
NSFileManager *fileManager = [NSFileManager defaultManager];
NSError *error;
NSArray *paths = NSSearchPathFo...
My application lets the user save/load images with alpha values to the camera roll on the device. I can see in the Photos application that these images are appropriately alpha'd, as alpha'd areas just appear black. However, when I load these images back into the application using the valueForKey:UIImagePickerControllerOriginalImage messa...
Can someone shed some light on creating a iphone passcode like interface? Is there any API to reuse the Iphone passcode for application?
...
I use CGContexts to allow the user to draw in my application, here's an example:
CGContextSetLineCap(UIGraphicsGetCurrentContext(), kCGLineCapRound); CGContextSetLineWidth(UIGraphicsGetCurrentContext(), size);
CGContextSetRGBStrokeColor(UIGraphicsGetCurrentContext(),r,g,b,a);
I want the user to have an "eraser" tool that a...