Hi out there:
i got an object with contents of html markup in it, for example:
string = @"<p>This is wonderful</p> <p>Also some ‘ entidies ’ <p>";
so i want first to convert this entidies in for my label text.
the second step would be to convert my p tags to line breaks.
the third step to convert my "img" tags to uiima...
I have a uisearchbar at the top of a uitableview
I have a button which I would like to be able to scroll to the top of the table (thus bringing the searchbar back into view) and then open it for editing. At the moment I have to scroll to the top and then tap on the scroll bar itself.
The scrolling shouldn't be to difficult but what I c...
I'm trying to pass some lat/long values from a JSON doc to iPhone's Map Kit to then plot the points on the map. The values are coming from an NSArray:
CGFloat goLat = [valfields objectForKey: @"geo_lat"];
CGFloat golong = [valfields objectForKey: @"geo_long"];
CLLocationCoordinate2D newCoord = {golat, golong}; etc...
But I'm getting...
I've tried:
- (IBAction)openSearch {
[tblSimpleTable scrollRectToVisible:CGRectMake(0, 0, 1, 1) animated:YES];
[searchBar becomeFirstResponder];
}
and
- (IBAction)openSearch {
[self.tblSimpleTable scrollToRowAtIndexPath:[NSIndexPath indexPathForRow:0 inSection:0] atScrollPosition:UITableViewScrollPositionTop animated:YES];
[searchBar...
I create a .caf audio file using AVAudioRecorder and if I try and play it back using AVAudioPlay I get no sound on the iPhone (if played in simulator works fine). If I close my application and reopen the file plays fine. Also I am not able to adjust the phone volume after recording unless I close and reopen my application. Any ideas?
...
- (void)viewDidLoad {
[super viewDidLoad];
[self.tableView setRowHeight:100];
[self.tableView setSeparatorStyle:UITableViewCellSeparatorStyleNone];
[self.view setBackgroundColor:[UIColor groupTableViewBackgroundColor]];
}
#pragma mark -
#pragma mark Table view data source
// Customize the number of sections in the tabl...
Hi Guys,
I need to be able to search for all bluetooth devices nearby and just get there ids. I don't need to pair at all. I am using iphone 2.3 beta.
Is this possible l have tried using GameKit and no luck does anyone know how to do this.
BOOL result = NO;
if (!session) {
session = [[GKSession alloc] initWithSessionID:@"SCANNER"...
I have an iPhone & necessary certificates also, But don't know how to debug an application using xCode to iPhone.
EDIT
I have all these. I have mac mini & iPhone 3g. The question is - I don't know how to use all these certificates?
I want to debug an application - having shake handling code. That I can't debug on simulator. So I just wa...
Hey All.
Im trying to do something that I think is super simple.
i have 3 integers - prevgues1 , 2 and 3
and i have 3 UILabels prevguess1, 2 and 3
the ints have 1 less s.
When I set the text of the label so
prevguess1.text = [NSString stringWithFormat:@"%d", prevguess1]
prevguess2.text = [NSString stringWithFormat:@"%d", prevgu...
Hi guys, I'm trying to detect current user address using MKReverseGeocoder passing coordinates obtained via CLLocation class. Reading MKReverseGeocoder Class Reference I noticed that
The Google terms of service require that the reverse geocoding service be used in conjunction with a Google map; take this into account when designing y...
Hi All,
i create a view based application , in this project i want read data from .plist file.
how it is possible,
Pleas help me ?
...
Hi,
I've got a problem that I couldn't solve with a deep search in different resources as most of the "similar" points out to be an error with Icon.png size, etc...
I've tried to upload my application after verifying that:
Correctly builds and run on my device
That my certificates are installed properly
That my certs / profiles are n...
I have 2 arrays. One is a large static group of 600 objects, the other is a small varying group of 10 objects.
I want to take any common objects between the two groups and put them in a new array.
So lets say the large group contains 600 objects named 1 to 600. The smaller group contains 9 objects: 1, 2, 3, 4, 5, 6, a, b, c. I want to ...
I am getting odd behavior from an NSAlert in two different parts of my program. The behavior is:
Alert appears and then spontaneously disappears.
Alert reappears and then remains until dismissed by user i.e. normal behavior.
Alert reappears again.
This behavior only occurs the first time the method that displays the alert is called....
I have a view with several embedded UITextFields, this UIView is subordinated to a UIScrollView in IB. Each text field is supposed to invoke a method called updateText defined in the viewcontroller implementation file when the user is done editing the field. For some reason, the method updateText never gets invoked. Anyone have any id...
I have an iPhone application I am about to modify for the iPad.
My problem is: the application is designed to work for iPhone OS 2.0 and if I make it for the iPad, I will have to design it for OS 3.2.
I cannot change the iPhone version, because I risk some of my users with old versions of the iPhone not being able to run the app.
Obvi...
I have a problem with a function running before the previous one has had time to finish. According to the logs they both run but it is almost as if the function called from the AppDelegate is put onto a separate thread.
-(IBAction) checkLocation {
[AppDelegate locateMe];
[self checkForChangeAndReloadTable];
}
The locateMe function...
Hello,
i have an application with tabbarcontroller.I have 4 tabs+4 navigation controllers.i am pushing views on navigationcontroller's stack on first tabbar button item's navcontroller,my problem is if i again push tabbar button it shows first view of navigation controller while it should show the last view of navigation controller.Here...
Hi
I am getting this error on my application
Program received signal: “0”.
warning: check_safe_call: could not restore current frame
I had also enabled Zombie but its not showing any info about memory corruption in one particular case and showing above error.
Please tell me why i am getting this error and how to resolve this.
Tha...
Hello guys!
How can I solve the problem I mentioned in the title?
So I have an UIImageView and in it there is an UIImage.
My UIImageView is in a View. When I set the origin of the imageview to (-120, -30) then I don't want to see the start of my imageview. Is this possible? Can this be done? How?
...