|
|
#1 |
|
Center another nib
I called another Nib class from my first view
Code:
LoginRegister *viewController = [[LoginRegister alloc] initWithNibName:@"LoginRegister" bundle:nil];
self.loginRegister = viewController;
[viewController release];
UIView *newView = loginRegister.view;
[animationClass SetAlphaView:newView :0.5 :1];
[self.view addSubview:newView];
when I call it it's appears at the upper left corner and I tried to align it Code:
newView.center=CGPointMake(121, 112); what should I do? Thanks |
|
|
|
0
|
![]() |
|
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| thread | Thread Starter | Forum | Replies | Last Post |
| center an iframe with css? | Starhorsepax | Web Design and Development | 8 | Feb 22, 2013 03:51 PM |
| Re-lock on new carrier using iPhone Activation Center | attanasi0 | Jailbreaks and iOS Hacks | 3 | Jun 2, 2011 05:40 AM |
| Different Version of Game Center on Two iPod Touches | NightFox | iPod touch | 0 | Mar 20, 2011 06:33 AM |
| Control Which Apps Show Up In Game Center? | t0264 | iPhone and iPod touch Apps | 0 | Dec 27, 2010 06:25 PM |
| Call URLCache From Another NIB | andrewtparker01 | iPhone/iPad Programming | 0 | Apr 23, 2009 11:57 PM |
All times are GMT -5. The time now is 12:48 PM.






Linear Mode

