I have a table view with 5 rows. The first row shows a decreasing digit indicating the time in seconds, i.e 30, 29, 28 ... 0. This is for the user to choose an action from the table view within 30 seconds. How is this implemented?
...
My boss seems to think there's a way to play audio files via a built-in QT interface that comes up with a modal UI, much like address book framework does.
Also, the mail app pops up a QT modal player to play attached audio files and then hides itself when done.
I've done a good 2 hours of research and I cannot find any pre-built UI for...
Hi,
In iphone application
I have a table view having 5 rows. first row is for showing the decreasing digit like time in second. i.e 30,29,28.......0. this is for user to choose a action from table view within 30 seconds. how this will implement?
Thanks, Aaryan
...
I understand that there is no way to set a user's wallpaper, but the apple program Voice Memos temporarily changes the locked screen while recording. This lets you know that the app is still recording, and even has a little red bar at the top showing you how many seconds have passed.
Is it possible for me to do this while my app is run...
Is there a method for determining the base 10 log of any number in the iPhone language? Any help with the math for this would be appreciated by a newbie budding iPhone developer.
Thanks in advance.
M
...
Does anyone know how to get the size in pixels or scale value of the viewport after a user has pinched or double tapped to zoom in/out on a page in JavaScript?
I've tried using window.innerWidth but I've had mixed results. Sometimes it seems to accurately give the number of pixels the viewport is showing, however, if I zoom way in on a ...
in iphone application.
I'm trying to get indexPath.row value to do something on the basis of row selected in programmatically created tableview.
Can someone please tell me why is the indexPath.row value is not coming correct. It's some thing like 21487...3?
NSUInteger nSections = [myTableView numberOfSections];
NSUInteger nR...
I'm manually managing a UINavigationBar for my view. The Bar itself and the first UINavigationItem are created in Interface Builder. In my code, based upon various events, I push new navigation items onto the bar and paint the appropriate views as subviews of the main view. It all seems fine, but when I select the navbar back button, ...
I'm having some trouble getting CGColorGetConstantColor() to work on the iPhone. Apple's documentation claims you can pass any of the "Constant Colors" without linking to what the Constant Colors actually are, so I assumed you can simply use those documented for OS X:
CGColorRef blackColor = CGColorGetConstantColor(kCGColorBlack);
Thi...
I used this to hide the bottom bar
-(BOOL) hidesBottomBarWhenPushed{
return YES;
}
Now i'm at a point where I want to NOT to hide it anymore. What method should I use?
Thanks
...
Hi
I am trying to design an ASP.net based mobile web application that should run on IPhone, Blackberry etc. while giving the look and feel of the native application.
This seems to be no easy and straightforward task, or example IPhone menus are at the top while other mobile platform uses menu button on the phone itself (at the bottom)....
I'm trying to figure out which property values I can rely on to store a reference to an address book contact and phone number, to avoid the potential for records to randomly change in my app. I believe I've figured out that the ABMultiValueIdentifier is the UID for an entry in a multi-value property (since it needs to be translated into ...
Question:
I'm trying to access a variable from the UITableView tableView:didSelectRowAtIndexPath: delegate method. The variable can be accessed from the data source methods, but when I try to access it from delegate methods such as this one, the app crashes.
I declare the variable in my .h file, and initialise it in .m file in the appl...
Does anyone know of an easy way to add a single backslash "\" to a NSString in Objective-C? I am trying to have a NSString *temp = @"\/Date(100034234)\/";
I am able to get a double backslash or no backslash, but unable to get a single backslash. Any help would be appreciated. Thanks
...
I am having a problem with the following code:
MyViewController *aController = [[MyViewController alloc] initWithNibName:@"MyView" bundle:nil];
self.myController = aController;
myController.title = @"List";
[aController release];
UINavigationController *bController = [[UINavigationController alloc] initWithRootViewController:myContro...
UIImage has a read-only property CGImage. I have to read its pixels to a memory block and edit them and then make a new UIImage to replace the old one. I want to know if there is a way bypass the read-only property and edit those pixels directly.
Thanks.
Thanks all. I have found a way to do it. Write a class with those method:
-(vo...
Say I have this code:
#import <UIKit/UIKit.h>
@interface MyView : UIView
@end
@implementation MyView
- (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event
{
// How can I get this to show up even when the button is touched?
NSLog(@"%@", [touches anyObject]);
}
@end
@interface TestViewAppDelegate : NSObject <UIAppli...
Hi
I've searched but can't see a similar question.
I've added a method to check for an internet connection per the Reachability example. It works most of the time, but when installed on the iPhone, it quite often fails even when I do have internet connectivity (only when on 3G/EDGE - WiFi is OK).
Basically the code below returns NO.
...
Hi guys,
I am developing a iPhone app and everything works fine so far. I can build and start the app in the simulator. But when I now start the app with Instruments I got the error:
Dyld Error Message:
Symbol not found: _CFXMLNodeGetInfoPtr
Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security
Expected in:...
Is it posssible to use the Publication Subscription (PubSub) Cocoa framework in iPhone apps? I understand that the subscription features would not be available, but is it possible to use the feed-parsing features? (These would be very handy, since they handle multiple versions of RSS and malformed feeds.)
...