[Solved] How to hide Navigation Bar? [closed]

Try out this to remove the navigation bar. (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { self.window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease]; // Override point for customization after application launch. MasterViewController *masterViewController = [[[MasterViewController alloc] initWithNibName:@”MasterViewController” bundle:nil] autorelease]; self.window.rootViewController = masterViewController; [self.window makeKeyAndVisible]; return YES; } 1 solved How to hide Navigation Bar? [closed]

[Solved] iphone application [closed]

UIWebView should makes just what you need. – (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame]]; UIWebView* wv = [[UIWebView alloc] initWithFrame:CGRectMake(0.0, 0.0, 320.0, 200)]; [wv loadHTMLString:@”<html><body>Hello <b>World</b></body></html>” baseURL:nil]; [window addSubview:wv]; [wv release]; [window makeKeyAndVisible]; return YES; } solved iphone application [closed]

[Solved] How to change UIPickerView image

i have tried this code [[[self._picker1 subviews] objectAtIndex:3] setAlpha:0.0]; // this view contains the background so you can change it with your new background // object at index 4 is your labels or images so they must be shown [[[self._picker1 subviews] objectAtIndex:5] setAlpha:0.0]; [[[self._picker1 subviews] objectAtIndex:6] setAlpha:0.0];// this is you indicator , you can add … Read more

[Solved] unrecognized selector sent to instance in Array [duplicate]

Your problem is that the compiler thinks you’ve declared “m_ArrContactsOrgEntity” as something other than a NSMutableArray. Otherwise, you wouldn’t be seeing that “unrecognized selector” error. Another hint of advice for you, best practice in Objective-C is that variables should always start with lower case letters. Change “ObjIstructContacts“, “Qnarray” and “Qnstream” to start with lower case … Read more

[Solved] Iphone 5 screen resolution issue [closed]

S.B you can check How to develop or migrate apps for iPhone 5 screen resolution? to answer most of your questions. iphone 5 size is in points is 480/568. So you need to consider this as resolution while design you app. 2 solved Iphone 5 screen resolution issue [closed]

[Solved] How to use autoresize on 2 UIViewControllers? [closed]

Well, part of the problem is that this is illegal: [UIViewControllers1.view addSubview:UIViewControllers2.view]; You must never just wantonly add one view controller’s view to another view controller’s view. There is only one way in which that is allowed outside of a built-in parent-child structure that does it for you (UINavigationController, UITabBafController, UIPageViewController), and that is when … Read more

[Solved] How do I send message programmatically in iPhone [closed]

Use following way : // Add delegate in .h file @interface ContactsViewController : UIViewController<MFMessageComposeViewControllerDelegate> // Add this in your .m file MFMessageComposeViewController *picker = [[MFMessageComposeViewController alloc] init]; if(picker) { picker.messageComposeDelegate = self; picker.recipients = [NSArray arrayWithObject:number]; picker.body = @”body content”; [self presentViewController:picker animated:NO completion:nil]; picker = nil; } NSLog(@”SMS fired”); – (void)messageComposeViewController:(MFMessageComposeViewController *)controller didFinishWithResult:(MessageComposeResult)result { … Read more

[Solved] Posting a comment on friend’s Facebook wall with an iOS SDK [closed]

NSString *urlString = [NSString stringWithFormat:@”https://graph.facebook.com/YOUR_FRIEND_FB_ID/photos?access_token=%@“, self.accessToken]; UIImage * pic = [UIImage imageNamed:@”green-background.png”]; NSData *picData = UIImageJPEGRepresentation(pic, 1); NSURL *url = [NSURL URLWithString:urlString]; ASIFormDataRequest *newRequest = [ASIFormDataRequest requestWithURL:url]; [newRequest setPostValue:@”This is Sample Text” forKey:@”message”]; [newRequest setData:picData forKey:@”data”]; [newRequest setPostValue:self.accessToken forKey:@”access_token”]; [newRequest setDelegate:self]; [newRequest setDidFinishSelector:@selector(postToWallFinished:)]; [newRequest startAsynchronous]; solved Posting a comment on friend’s Facebook wall with an … Read more

[Solved] How to open Documents files of device programmatically in iOS [closed]

To open office files within an iOS app you can: 1- Use UIWebView . Here is a sample code with a document included in the app’s resources. NSString *path = [[NSBundle mainBundle] pathForResource:@”document” ofType:@”ppt”]; NSURL *url = [NSURL fileURLWithPath:path]; NSURLRequest *request = [NSURLRequest requestWithURL:url]; [self.webView loadRequest:request]; 2- You can use the QuickLook framework to preview … Read more