ihave write the following code
but it does nothing in consloe it shows Unknown scheme, doing nothing
[webview setDeleagte self];
[webView loadRequest:[[NSURLRequest alloc] initWithURL:[[NSURL alloc] initWithString:sourcelinkStr]]];
...
I need to add a simple loading animation on top a my view..and want it to be in the center of screen(visible aria)..can anybody point me to the right direction.?
how to get the center of the window so that i can addSubview..?
...
I have just installed XCode 3.1.4. I cannot see the ViewBased Application template when i try to create a View Based application for the iPhone. In fact i cannot see an iPhoneOS there at all. All i can see is Mac OS X.
Do i have to install iPhone OS separately? Thank you
...
I have set a custom tint color for a UINavigationBar (within a UINavigationController) which, in turn, sets an appropriate matching color for the UIBarButtonItems which are inserted into the UINavigationBar. However, when I select a UIBarButtonItem the button turns into (presumably) the highlighted state and presents a different color, w...
When I click the table row, go back to previous view without clicking back button.
I try
[self.navigationController dismissModalViewControllerAnimated:YES];
it's not working. How to dismiss pushViewController ?
...
I am trying opening a audio file(.wav) and retrieve the raw data. I got the below code from the link. When I am trying to implement the code DWORD is not supported in Objective c.
Please help me out in implementing the code.Please help me out.
FILE *fp;
fp = fopen("sound.wav","rb");
if (fp)
{
BYTE id[4]; //four bytes to hold 'RIFF'...
Hi all,
i want to add custom EditingAccessoryView in cell, when user swipe in place of delete button i want to show my custom view.
...
Hi I need to show activity indicator but not able to find the right approach, what I tried is:
1) In ViewDidLod
[self performSelectorOnMainThread:@selector(setupActivityIndicator) withObject:nil waitUntilDone:NO];
[self userDataFromServer];
[self performSelectorOnMainThread:@selector(stopActivityIndicatorInMainThread) withObject:ni...
I'm using this.
I've put this in where the images are added:
self.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
I've put these overrides in SlideShowViewController:
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation{
return YES;
}
-(void)willAnima...
Hi all - I am interested in creating a form in an iphone application similar to this one. Mine would probably have a textbox as well but I was wondering what kind of control(s) should I use? Is this a grouped UITableView where the cells are hardcoded? If that's the case what about events on the textboxes? will they still fire on the tabl...
I have to write an application for a friend to use in his business - so it won't be on the App store. How do I go about deploying it and distributing this app?
Would he require a enterprize licence? And where/how would he download it to his device for testing purposes?
...
hai guys,
I new to the Objective C tech. i need solution for my issue. i have one table in sqlite, in the sqlite table one record ("aaa","bbb","ccc") i want to display this record in one cell of the tableView. can any one help me please....
thanks in advance
...
Hi I have a tab bar application with 4 tab. Each Tab have view added in NavigationController.
So for example, I am on first tab which have table view, user can tap on row and I will navigate into that view. The new view will come with NEW tabs corresponding to that view.
When user click on back button he will again come to home view ...
I'm having difficulty in switching between xibs :(
first i was using navigationController and it worked well but i want to do it without using navigationController.
I tried presentModalViewController but it crashes my application. :((
Here is the code :
myViewController *viewController = [myViewController alloc] initWithNibName:n...
I'm using Core Data + sqlite as a data cache. The app reads in a file into core data, then uses Core Data to run the app. Saves are done to both the NSManagedObjectContext and to the file. I've noticed, though, if I quit the app and reload it without repopulating the Core Data database, some (but not all) of the data saved using -save: i...
I am trying to use UIWebView to load a Chinese web url. If I encode it with utf-8 then it becomes:
html/libfunctions/%CA%FD%D7%E9%B9%DC%C0%ED(Array).htm -- xchm://03000000-0A00-0400-F25E-D84B09001600/ which cannot be loaded from UIWebView.
If I try to put it using the default one of Chinese: html/libfunctions/录脝脢卤脝梅鹿脺脌铆(Timers).htm, th...
hello to all, i have viewOne which contain a method to trigger camera n capture the image,
and i have another view(viewTwo) to show image which captured from previous view..
here am struggling to show image which captured in viewOne's View to viewTwo..
can anyone give me some suggestion how to show image from one view to another..
tha...
I was wondering why the retainCount of a viewController is raised by 4 when pushed onto the stack of a Navigationcontroller e.g. from a tableView. What dependencies are created?
...
Hello,
How can I read .epub files like iBook application of apple?
Is there any SDK or just java script.
If anyone has any idea please let me know.
Thank You.
...
Hello Everybody,
I encounter a unbelievable strange problem:
The libxml parser I'm using makes a difference between " and ".
Is there one? The following attribute makes the error:
name="New Headway_the third edition"
if I replace the " character with the " I enter with my keyboard everything is working fine... I allready proved,...