forked from mirrors/linphone-iphone
remove status bar from video view
This commit is contained in:
parent
d0fe563edc
commit
da36fd889b
3 changed files with 16 additions and 9 deletions
|
|
@ -147,7 +147,9 @@
|
|||
// Release any retained subviews of the main view.
|
||||
// e.g. self.myOutlet = nil;
|
||||
}
|
||||
- (void) viewWillAppear:(BOOL)animated {
|
||||
|
||||
}
|
||||
|
||||
- (BOOL)textFieldShouldReturn:(UITextField *)theTextField {
|
||||
if (theTextField == address) {
|
||||
|
|
@ -160,6 +162,7 @@
|
|||
|
||||
|
||||
-(void) displayDialerFromUI:(UIViewController*) viewCtrl forUser:(NSString*) username withDisplayName:(NSString*) displayName {
|
||||
|
||||
//cancel local notification, just in case
|
||||
if ([[UIDevice currentDevice] respondsToSelector:@selector(isMultitaskingSupported)]
|
||||
&& [UIApplication sharedApplication].applicationState == UIApplicationStateBackground ) {
|
||||
|
|
@ -179,8 +182,8 @@
|
|||
linphone_core_set_native_video_window_id([LinphoneManager getLc],0);
|
||||
linphone_core_set_native_preview_window_id([LinphoneManager getLc],0);
|
||||
}
|
||||
|
||||
[self dismissModalViewControllerAnimated:TRUE];//just in case
|
||||
[[UIApplication sharedApplication] setStatusBarHidden:NO animated:NO];
|
||||
[self dismissModalViewControllerAnimated:FALSE];//just in case
|
||||
}
|
||||
|
||||
[address setHidden:false];
|
||||
|
|
@ -246,6 +249,7 @@
|
|||
}
|
||||
|
||||
-(void) displayVideoCallFromUI:(UIViewController*) viewCtrl forUser:(NSString*) username withDisplayName:(NSString*) displayName {
|
||||
[[UIApplication sharedApplication] setStatusBarHidden:YES animated:NO];
|
||||
[self presentModalViewController:self.videoViewController animated:true];
|
||||
}
|
||||
//status reporting
|
||||
|
|
|
|||
|
|
@ -65,6 +65,9 @@
|
|||
|
||||
// Release any retained subviews of the main view.
|
||||
// e.g. self.myOutlet = nil;
|
||||
}
|
||||
-(void) viewWillDisappear:(BOOL)animated {
|
||||
|
||||
}
|
||||
-(void) viewWillAppear:(BOOL)animated {
|
||||
[super viewWillAppear:animated];
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">
|
||||
<data>
|
||||
<int key="IBDocument.SystemTarget">1056</int>
|
||||
<string key="IBDocument.SystemVersion">10K540</string>
|
||||
<string key="IBDocument.SystemVersion">10K549</string>
|
||||
<string key="IBDocument.InterfaceBuilderVersion">1305</string>
|
||||
<string key="IBDocument.AppKitVersion">1038.36</string>
|
||||
<string key="IBDocument.HIToolboxVersion">461.00</string>
|
||||
|
|
@ -46,7 +46,7 @@
|
|||
<object class="IBUIImageView" id="733070734">
|
||||
<reference key="NSNextResponder" ref="191373211"/>
|
||||
<int key="NSvFlags">274</int>
|
||||
<string key="NSFrameSize">{320, 400}</string>
|
||||
<string key="NSFrameSize">{320, 420}</string>
|
||||
<reference key="NSSuperview" ref="191373211"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="955352536"/>
|
||||
|
|
@ -57,7 +57,7 @@
|
|||
<object class="IBUIButton" id="477702441">
|
||||
<reference key="NSNextResponder" ref="191373211"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrame">{{0, 398}, {106, 62}}</string>
|
||||
<string key="NSFrame">{{1, 418}, {108, 62}}</string>
|
||||
<reference key="NSSuperview" ref="191373211"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="695487530"/>
|
||||
|
|
@ -90,7 +90,7 @@
|
|||
<object class="IBUIButton" id="695487530">
|
||||
<reference key="NSNextResponder" ref="191373211"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrame">{{107, 398}, {106, 63}}</string>
|
||||
<string key="NSFrame">{{106, 418}, {106, 63}}</string>
|
||||
<reference key="NSSuperview" ref="191373211"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="383499753"/>
|
||||
|
|
@ -114,7 +114,7 @@
|
|||
<object class="IBUIButton" id="383499753">
|
||||
<reference key="NSNextResponder" ref="191373211"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrame">{{213, 398}, {106, 62}}</string>
|
||||
<string key="NSFrame">{{211, 418}, {108, 62}}</string>
|
||||
<reference key="NSSuperview" ref="191373211"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView"/>
|
||||
|
|
@ -150,7 +150,7 @@
|
|||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
</object>
|
||||
</object>
|
||||
<string key="NSFrame">{{0, 20}, {320, 460}}</string>
|
||||
<string key="NSFrameSize">{320, 480}</string>
|
||||
<reference key="NSSuperview"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="733070734"/>
|
||||
|
|
@ -158,7 +158,6 @@
|
|||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MC42NjY2NjY2NjY3AA</bytes>
|
||||
</object>
|
||||
<object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
</object>
|
||||
</object>
|
||||
|
|
@ -227,6 +226,7 @@
|
|||
<reference ref="383499753"/>
|
||||
</object>
|
||||
<reference key="parent" ref="0"/>
|
||||
<string key="objectName">View</string>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">-1</int>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue