It is possible to call one method from inside another. I've implemented this function
- (void)pickAndDecodeFromSource:(UIImagePickerControllerSourceType) sourceType
I want to call following method inside the above one.
- (void) viewDidAppear:(BOOL)animated
...
hi all,
i want to use the best Coordinate. but one thing is confusing me
here i want to check that if new location accuracy is better then use new location otherwise use old location
if (newLocation.horizontalAccuracy>oldLocation.horizontalAccuracy)
{
self.bestEffortAtLocation=newLocation; // this mean new location is better accura...
Hi all,
Id like to create a small cross-mobile javascript application, which consists of a form and a grid as result. I also want to display some images, with something similar to lightbox. I coded an home maded prototype but id like to add 'touch' effects and support multiple screens easyly.
I looked at JqTouch but its very slow on my...
Is there an official iPhone SDK for Windows?
I thought there was none, but a colleague at work said he downloaded one from Apple.
Which one of us is wrong? I thought Apple doesn't release it's developer tools for windows.
Or is that just Windows on non-apple computers ?
...
I have an app that has some consumable items, after they are used, user can do in-app purchase to get more.
How can avoid the user to unistall the app and reinstall so he doesn't have to pay?
Can i save some data that is going to remian regardless of if he unistalls it?
Should i have the app store in a database the udid of each device...
Hi.
Does anyone know a simple way to manage several tableViews in one viewController?
Here is how I've been doing it so far:
-(NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
{
if(tableView == self.tableView1)
return 1;
else if(tableView == self.tableView2)
return 2;
}
-(NSString *)tableView:(UITableView *)tableView t...
Hi out there,
im new to iPhone Dev and searching the web for resources about iPhone Development.
Currently i'm using this resources:
Apple iPhone Beta Forum
stackoverflow -> iphone Tags
iphonedevelopmentbits.com
icodeblog.com
thanks for every tip :)
...
Hello I have been using LibTomCrypt to use SHA1 encryption ( for data integrity checking ) on mobile devices (iPhone OS and Android for the moment ). I was wondering if anyone is using anything else, things to consider are Portability ( C preferred but C++ is also an option ), and libraries size ( small == better for my particular needs ...
hi all, i've read several thread for this question but unfortunatly not found the answer to my problem :(
i have a xml file in resource folder, and i need just to re-write the same file;
the app logic is:
display data loaded from file
add new data to the same file
for read a file my code is:
NSString *filePath = [[NSBundle mainBund...
I m the beginner in iphone development.
How i call the background image from my project directory in Xcode in html page. I have taken previously UISegment control and after that i calling two html page on webview in uisegmentcontroller.
Now i want to set background images on those html pages.
It is possible?
if it is yes then how?
than...
Hi,
I'm using CGContextShowGlyphsAtPoint in my application to render characters that follow a path. I'd had no problems with this at all until I started on i18n of the application and found that Japanese characters appear fine everywhere apart from when I try to render them using this function.
Is there a way to have these characters a...
I am implementing a BlueTooth and Wifi Based chat program for iPhone. For connection purpose I am using GameKit. But because of some special requirements application I can't use the default GKPeerPickerController. So I instead I created a GKSession and GKSessionDelegate combo to detect the peers. After they find each other, they can chat...
I use OpenGLView to display content of my app but sometimes I have to display UIActionSheet.
My application works on both - landscape and portrait mode - but since it's OpenGL view I handle rotation of the view by myself so to display UIActionSheet I use empty view and add actionsheet to it. the problem is that when I use shouldAutorotat...
hi!
is there a way to deactivate vsync in openGL ES on the iPhone?
i know that there is a command eglSwapInterval which could be used to disable vsync in openGL ES - but egl.h (which defines this function) is not available in Apples iphone SDK
...
I am building an app that has picture viewing capabilities. I have wrestled the UIScrollView beast to the ground (hope to post my scrollview knowledge RSN) and am now trying to duplicate some of the other visual effects of the iPhone photos app. specifically, when viewing an image, I would like to dissolve the controls and bars away.
I...
I'm adding several annotations to a MapView and using a custom image instead of the default pins. I am using the viewForAnnotation delegate method to set the custom image like this:
view.image = [UIImage imageNamed:@"placemark.png"];
And I've also tried:
[(MKPinAnnotationView *)view setImage:[UIImage imageNamed:@"placemark.png"]];
...
I observe that with the iMac magic mouse, while using the iPhone simulator, if:
a) the active view has an object in the center of the iPhone screen which is capable of generating touch events, and
b) the iMac operator accidentally or otherwise drags their finger(s) across the magic mouse surface in a way which would normally be used for...
Lets say i have a little bit of code I would like to repeat a number of times. How should I best include this in my iPhone app to only have to write this once?
Its a typical TableView Controller App.
//Set Icon
UIImageView *imgView = [[UIImageView alloc] initWithFrame:CGRectMake(30,25,20,20)];
imgView.image = [UIImage i...
I'm working on some iPhone MapKit code which fires off some events when the boundaries of the map change (basically some queries to an external server). There is one edge case I can't seem to solve. When users enter a new address I use setRegion to zoom in on that location and afterwards I compute the bounds of the map and query my exter...
I would like the rounded rectangle portion of the subject type of UIButton to be a solid custom color I specify. I understand that
. setTitleColor : changes the text color
. backgroundColor : changes the color of the four pie-shaped corner pieces behind the rounded rectangle
The question is how to change the color of the rounded recta...