I'd like to display a toolbar above a UIWebView but hide the toolbar until the person "pulls it down".
The same functionality can be seen in Safari on the iPhone. When the page loads, the toolbar containing the address is hidden. You must pull it down. In Safari it's possible to scroll up and eventually see the toolbar or scroll down th...
Is there any way to add an item to settings that changes TextView font type ? (for ex TimesNewRoman to Calibri etc )
...
I am trying to debug multiple threads.
*** -[NSLock lock]: deadlock (<NSLock: 0xc388ab0> '(null)')
*** Break on _NSLockError() to debug.
How can I debug this?
...
Hey there,
I'm looking for an sdk that can be integrated into native iphone apps to add social networking sharing functionality.
I'm familiar with AddThis, but it doesn't look like they have anything specifically built for the iphone. Any ideas?
Thanks,
ward
...
I am using DTGridView from the DTKit by Daniel Tull. I implemented it in a very simple ViewController and the test I am doing is to place a button in the last row of the grid, which should add another row to the grid (and therefor moving the button to a row beneath it).
The problem is, when I click the button a couple of times and then ...
Hello everybody,
I am creating an app for the iPhone that fetches a specific page from a website, but to be able to view this site you need to log in with a username and a password.
I've created this code:
NSString *urlAddress = @"http://www.wdg-hamburg.de";
NSURL *url = [NSURL URLWithString:urlAddress];
NSString *post = @"name=login...
I'm trying to get BNRPersistence running in an iPhone app, but I'm having a problem that I have no idea how to solve. Keep in mind I'm relatively new to iPhone dev.
The problem is that BNRStoreDocument subclasses NSDocument, which exists in the Cocoa framework and thus isn't available on the iPhone. So obviously I'm getting compile erro...
I have an NSMutableArray of UIImageViews that have been added as subviews of a particular view.
When I replace a view like this:
UIImageView *tempview = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"background.png"]];
tempview.frame = CGRectMake(0, 0, 667, 920);
[drawViewController.drawImage replaceObjectAtIndex:0 withObject...
When I try to get the text of a UITextField it returns a random integer. Here's the code I used:
NSLog(@"Field Text: %d", field.text);
field being the UITextField. And in the debugger it returns an random number, for example 29876208 when there is text in the UITextField.
...
I have created a voice recording app. It works fine on an iPhone 3G but crashes on an original 2G iPhone.
The crash occurs in the following methods:
-(void)RecordbtnPressed:(UIButton *)sender {
[Record removeFromSuperview];
stop.alpha=1;
T=[NSTimer scheduledTimerWithTimeInterval:1 target:self :@selector(startTimer) userInf...
I have a UIViewController *view1 and another UIViewController *view2; I used presentModelViewController to navigate from view1 to view2.
-(void)function:(id)sender
{
NSLog(@"The libraryFunction entered");
LibraryController *libraryController = [[LibraryController alloc]init];
[self presentModalViewController:libraryController anim...
Is there a way to pop the current view from the Navigation Controller? Ideally in viewDidLoad, I would like to perform some sanity checking and if it fails, popup an error dialog and automatically close the current view (remove from parent N.avigation Controller)
...
Hey all,
Has anyone had any luck using a UIPicker in the 3.2 SDK? I'm in the middle of porting an iPhone application over to an iPad and that's the one thing I can't seem to get to work. I've tried...
-Creating an action sheet, add the picker as a subview and displaying it.
-Creating that above action sheet, making it the view of a ge...
I get this error when I try to run my app:
2010-04-29 13:49:01.355 MyApp[56123:207] *** Terminating app due to uncaught
exception 'NSUnknownKeyException', reason: '[<MyViewController 0x5112b10>
setValue:forUndefinedKey:]: this class is not key value coding-compliant for
the key toolbar.'
MyViewController used to have an IBOutlet call...
I'm looking for a way to use NSPredicate to set a LIKE condition to fetch objects. In addition to that, an OR would be useful as well. I'm trying to do something where if a user searches "James" I can write an NSPredicate that will do the equivalent of:
select * from users where firstname LIKE '%James%' OR lastname LIKE '%James%';
...
It seems that no matter what orientation I am supporting on my views in my app, when I display a view with presentModalViewController, the app snaps into portrait view. How can I support different orientations with a modal view controller?
...
I need to know which cell is touched when any button inside the cell is touched. I have custom UIButton *button1 in the cell and UIButton *button2 on the cell.imageView.image of the cell. I wrote selectors for both buttons.; But, I could not differentiate the buttons for each cell. How do I know which cell button was touched. What to do,...
Hi guys,
I would like to have the result from my recording as a float in the range [0.0, 1.0], alternatively [-1.0, 1.0] because of a bit of math I want to do on it.
When I set my recordingformat to be in float, like this:
mRecordFormat.mFormatFlags = kLinearPCMFormatFlagIsFloat;
I get:
Error: AudioQueueNewInput failed ('fmt?')
D...
hai to all ,
I have added a scroll view of content size 320,1000 to my view
its working properly and loading with starting content of scroll view.
But,now I want it like showing some place of it when its getting load.
that is it shows directly some place of it instead of starting of the content ...
Help me it is urgent .. I have tried wi...
Hi
im looking (but cant find) for sample app that will show me how to implement UITableView with custom UITableViewCell that is similar to one in the Things app, with smooth animation from read-only view (that hides empty cells) to editable view that shows only cells that can be edited, and custom cell with multiline input with small im...