ios - Is it possible to have top bar on UIView? -
i present uiview
standart top bar - black navigation bar title of uiview.
- i have created xib.
- set top bar black navigation bar in xib
added screen:
_popup = [[[nsbundle mainbundle] loadnibnamed:@"popup" owner:self options:nil] objectatindex:0]; cgsize screensize = [[uiscreen mainscreen] bounds].size; _popupbackground = [[uiview alloc]initwithframe: cgrectmake(0,0,screensize.width,screensize.height)]; _paymentpopupbackground.backgroundcolor = [uicolor clearcolor]; [_paymentpopupbackground addsubview:_popup]; [[uiapplication sharedapplication].keywindow addsubview:_paymentpopupbackground];
the
uiview
appeared without black navigation bar. how can fixed?
navigation bar uiviewcontrollers not uiviews.you can use toolbar on top of view , present it
make style black opaque
Comments
Post a Comment