iphone

How to ignore iphone tab bar presses until tab has finished loading?

Hi all, I have 2 tabs in my application, when a tab is pressed an RSS feed is loaded and MBProgressHUB shows a loading spinner until the tab has finished loading and the view has appeared. However if the other tab is pressed whilst the tab is still loading, 2 MBProgressHUB spinners appear and then the app crashes. Is there anyway to i...

can Any one suggest me how to begin with nested scroll view?

hello all.I need to keep a scrollview of size our view size,in that large scrollview again i have to keep six image views and six scrollviews.Please,can any one suggest something how to start with it. ...

iphone - Why the NSURLConnection connectionDidFinishLoading is not running?

Hello all My app looks like this: I have a UIScrollView and there is imageview inside. I implemented the scrollViewDidScroll delegate so that if the scroll did scroll, I will create a NSURLConnection and download a data from some url, for only once. The problem is that the NSURLConnection connectionDidFinishLoading only be called or r...

Sending a pointer to an interface property in Objective-C

Ok so I -roughly- want this code: test1.m: Foo *foo = [[Foo alloc] init]; foo.x = 1.0f; [staticClass bar:*foo.x]; staticClass.m: -(void)bar:(float *)argVar { *argVar += 1.0f; } So I'm pointing the argVar to a property of the Foo class. Obivously the current code doesn't work. What's the proper syntax for/way to do this? ...

can't access the xib file?

hai Initially I created UITableViewController class without xib file but now i need Xib file for some action on tableView. here i can't link the new created xib file with UITableViewController Class. please help me for this issue. how can i make the link between xib and class. ...

can we play audio on background.

Hi all, till know, i was aware of the fact is, we cant play background process in iPhone, but with 4.0 + we can do it. i have a doubt, suppose we develop and music player application, which need to be play audio continiously, while the application has been closed. Is this possible. For example, the inbuilt music player of iPhone does thi...

Why when I catch the action for a hyperlink while using three20 an extra nav bar appears?

I am trying to study how the three20 works. It is working fine in case of bold, italics and hyperlink by giving a different color. I have given code in the appdelegate for the control to go to my own class(Eg: WebViewController). TTNavigator* navigator = [TTNavigator navigator]; navigator.supportsShakeToReload = YES; navigator.persiste...

NSTimer or NSThread in iOs 4 background mode

I have to keep a NSThread or NSTimer when my iPhone application goes into background mode. Is it possible ? I have enabled the background modes in info.plist and opened readstream and writestream as follows ...(I am using UDP) CFReadStreamSetProperty(readStream, kCFStreamNetworkServiceType,kCFStreamNetworkServiceTypeVoIP); CFWrite...

Delegates and protocols objective c

Hi, I followed on some advice given on this very forum and I am still having difficulty I have the following: #import <UIKit/UIKit.h> @protocol UIViewForWheelProtocol - (void) returnImageNumber:(int)imgNum; @end #import <UIKit/UIKit.h> #import "UIViewForWheelProtocol.h"; @interface UIViewForWheel : ...

Facebook Authentication - issue coming back into my iPhone app via custom url scheme

I am trying to use the new Facebook 'one-time authentication' process in my iPhone app. The idea is that the app links out to either the Facebook app or Safari to ask the user to log in to Facebook, then Facebook returns the user to the app using a custom URL scheme. I have set up the custom url scheme in the app, prepending 'fb' as in...

iPhone app InputAccessoryView isn't appearing on iPad

I'm using Monotouch to develop an app for the iPhone. In my iPhone only app, I have an InputAccessoryView appear whenever the user selects a textfield. The accessory view provides buttons which aid the user (undo/redo etc). It works fantastically on the simulator and on iPhone devices. However, out of the blue, the Input Accessory V...

May I add toolbar manually in UIWindows?

I added UIWindow and its toolbar like: self.window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease]; NSArray * arr = [NSArray arrayWithObjects:@"test1", @"test2", nil]; [[self.window rootViewController] setToolbarItems:arr animated:NO]; No toolbar showing up. Is it doable? Thanks. ...

customTabBarController not a structure or a union?

Hi There, I am geeting an error customTabBarController not a structure or union? What the reason for this kind of error? Many Thanks in advance for your help. ...

Search component effect in the mail application

Hi, In the iPhone email application once I click on the search bar it shifted to top and the background gets black. How to achieve this type of effect in the code? Do we need to create a custom UIView and make this shift explicitly? ...

Advantages/Disadvantages on developing iPhone apps with Appcelerator Titanium instead Apple development.

Hi, I have a new project which is an iPhone application. for that I have 2 possibilities to build it: using Apple classic style (xcode, objective-c, etc) using Appcelerator Titanium and continue using javascript as an interface to access all the iPhone features to create my app. *I've noticed the absence of a separated interface fil...

UISwipeGestureRecognizer working fine in simulator but not in device

Hi All i have added Swipe Gesture Recognizer(left and right ) on main view. it is working fine in simulator but when running in device no swipe is happening simulator version 4.2 device version 3.2 here is my code UISwipeGestureRecognizer *gestureRecRight=[[UISwipeGestureRecognizer alloc]initWithTarget:self action:@selector(RightSw...

Iphone creates symbolic file during crash

Hello All, Any one help to locate symbolic file.Thanks in advance. Regards, Arunkumar.P ...

Scanning iphone applications

Hello Do you think it is possible to identify all existing applications on a non jailbroken iphone? NSProcessInfo seems to be for my own application. Is the environment protected ? Thanks ...

Resources seem not to be copied to iPhone

I've created a prototype app which uploads a bunch of photos to a webserver. Everything works fine in the simulator. But when I want to try it on an actual device it does not find the images. I've included them under the resources group in Xcode. Anyone? Best –f ...

how to restrict scrolling for +ve part in cpxygraph

hi all, I am new to core plot SDK, implemented core plot in my app. i need to restrict -ve part of graph. i.e always i will have +ve values for graph((1,1),(10,15),(20,15)).i need horizontal , vertical scrolling for +ve part only.So i want to restrict remaining 3 parts of graph. I tried in all ways help less, so posted here. if any one a...