Hi *,
i try to remove the text under the icons in my tabbar (created with the IB). At start i see no text, after clicking on it and change to the other view i see the text.
how can i hide the text also in the other views ?
thx
...
this is my flow
navA-> navB->navC then when user press NavC back button he goes to navA
but when user again press navA he should go to navB but its going on navC i dont know why
in navC i did this
XMLAppDelegate *appDelegate=(XMLAppDelegate*)[UIApplication sharedApplication].delegate;
[self.view removeFromSuperview];
[appDe...
Hello,
I want to add some carousel effect in my iphone application. i want to show some items in carousel effect. so can any one suggest how i do this ?
Thanks
...
Hello,
I'm trying to lay out a bunch of views as shown in this photo:
Each view has sublayers whose backgroundColor produces the colours you see.
The problem is that when the view is rotated, the sublayer doesn't anti-alias, so these ugly white specks appear (I confirmed that they are indeed the backgroundColor of the UIView)
Is the...
Hi
I am trying to add a subview to my iphone window and i have written the following code for that. Problem is that when the splash view or main menu view appears on the screen, it goes behind status bar. I mean the view starts from behind the status bar. Also both view overlap when the main menu view is show after the splash view. Can a...
I am able to connect to APNs from my local host Xampp and push notification comes to my device
i have built the app using Distribution (Ad-hoc),
But i get the error while connecting to APNs from hosting server which is a linux server.
I have put all the necessary certificates on host
Error i get is:
Warning: stream_socket_client() [fun...
I've got the proximity sensor working so that I can trigger events when in proximity, but I'm trying to use it as a sort of dead man switch. The problem is that whenever in proximity, the screen turns off, which drastically reduces the usability of the app :P Also, the proximity sensor doesn't seem to activate when in landscape mode (I c...
Hi
Im using the table view in the view controller,with the simple array was displayed in the list.that array was displays and works fine but im getting this Warning.may i know the reason for this and please some ideas to rectify this issues..
WARNING: Using legacy cell layout due to delegate implementation of tableView:accessoryTypeFo...
Let me explain in detais
In appDidfinish()
{
preLoginNavController = [[PreLoginNavController alloc] initPreLoginNavController];
[window addSubview:[preLoginNavController view]];
}
then in preLoginViewController when user press a button
then i am doing this to go to view2
RootViewController *arootController= [[RootViewController al...
I would like to skip through a movie using a slider (which I have successfully implemented) and believe the only option is to use the initialPlaybackTime property. I've found that to use this I need to first stop and start the video. This is a problem as I have events firing during the movieDidFinish event which I dont want to fire when...
In Objective-C you can pass a method A as a parameter of other method B.
and call method A from inside method B
very easily like this:
-(void) setTarget:(id)object action:(SEL)selectorA
{
if[object respondsToSelector:selectorA]{
[object performSelector:selectorA withObject:nil afterDelay:0.0];
}
}
Is there any functiona...
Iam making an iphone app, which should take in latitude and longitudes from an array and should locate and display the map with a customized annotation/pins. I have used the mapkit here's how:
//MapViewController.h
#import <UIKit/UIKit.h>
#import <MapKit/MapKit.h>
@interface MapViewController : UIViewController <MKMapViewDelegate> {
...
Hi guys,
I'm trying to play sequence of audio files in the background using AVAudioPlayer. When the app is not in the background it plays well, but when the app goes to the background it won't play the second song.
Here is my code:
-(void)playAudio:(NSString *)path{
NSURL *url = [NSURL fileURLWithPath:path];
NSError *error...
Hi all, I'm using XCode 3.1.4, I'd like to browse the iOS framework classes visually, eg. the UIKit.framework classes.
I believe this is possible with Class Model facility, the documents here http://developer.apple.com/tools/xcode/xcodefuture.html suggest so:
The Xcode class modeler works with Objective-C, C++, and Java source code ...
i am calling a alert view in rightnavbarbutton then inside that if buttonindex==0
then i am doing this
[self.navigationController popToRootViewControllerAnimated:YES];
but my app just quit after that and when i pass dirctly without alert button then its fine
so is it true that i cant write alertbutton code in navrightbutton????
...
Hi,
I've been working on cross-platform 3D engine but atm I have version running natively on OSX and iPhone/iPad ( which in Simulator uses system GL library ). The problem I'm experiencing is that each texture is slightly shifted in both directions ( looks like just about one texel shift ) and I would look more in my code if I didn't se...
in my app I have a table view where I download a list of hotels parsed by an XML(for every hotel i put in xml an attribute STARS); I need to view hotels by stars (from 5 stars to three stars), dividing it into three sections.
So I have a section "5 stars" where there are 5-star hotel, a section "4 stars" where there are the 4-star hotel ...
I've got a problem working with one remote server. My app makes a request to a server using [NSData initWithContentsOfURL:] method and as a response I get website's url which I open in UIWebView.
The problem is that those requests have different User-Agent and server can't serve me correct because it expects that I send all requests wi...
Hello,
I'm using UISplitViewController for app on iPad. The first task was to show master and detail view in portrait mode. I have done this like that:
// It is possible to keep the Master View in portrait mode
// also. Just pass YES to this method to enable this mode.
- (id) initWithMasterInPortraitMode:(BOOL) masterInPortrait {
s...
hi,
I have few text fields in sectioned table view. When i rotate the view gets rotated according to the orientation but not getting filled up according to the screen. For instance i have set the width using CGRectMake method for portrait as 70.0 but when it is turned to left the size of the text box is the same and not getting expanded...