Hi,
I want to know what the risks are of using undocumented methods in the iPhone SDK.
I haven't had any issues thus far, but I am worried that doing something like this might screw up the app.
Any opinions/suggestions are greatly appreciated.
...
I have a binary file I've loaded using an NSData object. Is there a way to locate a sequence of characters, 'abcd' for example, within that binary data and return the offset without converting the entire file to a string? Seems like it should be a simple answer, but I'm not sure how to do it. Any ideas?
Thanks.
UPDATE: I'm doing this o...
I am playing around with the coredatabooks source code example from the apple website, or here. I am trying to set the books copyright date attribute value to replace the author as the tableview section header, and I need the date value to be static, meaning I don't need the time, otherwise all of the date values are different, and no tw...
Is it possible to have a menu bar (navigation bar) on a web site that is independent of iPhone’s zoom (i.e. with fixed width and height) while the rest of the site can be zoomed in and out?
With meta "viewport" I can set the zoom of the whole website, I want to exclude some parts.
It seems that it can't be done by using iFrames or CSS ...
How can I control the title which appears in the UINavigationController with a web page which appears in a UIWebView?
I am trying to get the UINavigationController title to reflect the title of the web page.
...
Hi,
I think, I need another good advice. Up to now my solution seemed to run well, but now...
OK, the facts:
I have an ordinary UIViewController
On top a UINavigationBar, behind
that a
UISearchBar, hidden initially
At bottom a UIToolBar
My main view controller supports
UISearchBarDelegate
A switch on UIToolBar toggles the visibilit...
I am implementing fun application.In which i want to animate some area(portion) of images.
I dont know how it possible.If u have any idea then please help me.
...
hi there
working on an iphone app and separate framework.
the separate framework is for an API that i'm building for use in multiple future apps.
this api now needs to reference resources (images). what i would like to do is keep the resources WITH the API framework as local set of resources.
i followed the instructions from http:/...
I am applying a CAAnimation to move a toolbar on- and off-screen.
When I touch the superview, that fires the following method:
- (void) touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event {
[UIView beginAnimations:kViewerToggleToolbarAnimation context:nil];
if (self.viewerToolbarView.isVisible) {
self.viewerToolbarVi...
I have an image that I want to display on a UIBarButtonItem, but for some reason it only shows the outline of it and the rest is all white. How can I have it actually display the image?
Thanks!
...
Hi everyone,
I have a simple question about the Iphone SDK bluetooth part. I would like to know if it would be possible under an application to detect all the bluetooth devices (iphone/ipod and others...) and if yes, to get the name of the devices.
Thanks a lot guys !!
Ad
...
Hi,
I'm looking for a good way to return a string constructed by a NSMutableString avoiding leaking :
eg:
+(NSString *)myMethod{
NSMutableString *numberToReturn = [[NSMutableString alloc] init];
[numberToReturn appendString:@"lorem ipsum"];
return numberToReturn;
}
The leak instrument said I had leak with this variable.
I t...
I'm going to look into Core Animation in more detail soon but at the moment I'm just looking to rotate a view by a specified angle. I was wondering if anyone could point me to some code or provide a simple example as a quick search online hasn't pulled up any thing useful!
Basically, I need to set an anchor point and then rotate my view...
I created a zoomable UIScrollView and added 100 subviews to it (tiled). The view scrolls perfectly left and right. However, I'd like to allow zooming.
To do so I read that my delegate needs to implement:
- (UIView *)viewForZoomingInScrollView:(UIScrollView *)scrollView {
return ???;
}
I have seen examples that have only one subvi...
i want to be get a date (the current hour) from strftime and get it into a nsstring in obj-c for the iphone-os
...
I have a UIPickerView added as a subview to my main view. I also have a series of textfields in the main view, so the picker view covers some up. So I was wondering if it is possible to move the main view (containing textfields) while the picker view (subview added to main view) remains stationary?
...
I wanna make sure some code I've written works good with Chinese and Japanese characters. I tried changing the iPhone Simulator language to Chinese and Japanese, but it doesn't look like the character set for the UITextFields change. How do you do that?
...
hello,
i have a ScrollView with Buttons.
how to insert a view (which contains some informations) with a vertical slide down animation UNDER the selected button ? (and then disappear if clic "Done")
I really don't know how to proceed.
can you hellp me please ?
thanks a lot
...
I have a simple UIViewController with just a UIWebView. The UIWebView should take all available space to show the content of an url.
I would like to reuse this ViewController in various places. In some cases it will be pushed into a NavigationController, in some it will be shown as a ModalViewController. Sometimes it might be inside a T...
I'm trying to make an app that displays something in real-world units.
It's not a ruler app, but it wants that kind of precision.
It already looks like the iPhone and iPod touch have different screen resolutions (160 & 163 respectively)
I've found this
http://stackoverflow.com/questions/610193/calculating-pixel-size-on-an-iphone
and th...